lkml.org 
[lkml]   [2004]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch] voluntary-preempt-2.6.8.1-P0

    doh - i think i found a brown-paperbag bug.

    could you change this code in kernel/sched.c:

    int __sched voluntary_resched(void)
    {
    #ifdef CONFIG_DEBUG_SPINLOCK_SLEEP
    __might_sleep(__FILE__, __LINE__);
    #endif
    if (kernel_preemption || !voluntary_preemption)
    return 0;

    to:

    int __sched voluntary_resched(void)
    {
    #ifdef CONFIG_DEBUG_SPINLOCK_SLEEP
    __might_sleep(__FILE__, __LINE__);
    #endif
    if (!voluntary_preemption)
    return 0;

    Does the mlockall xrun still occur?

    Ingo
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:05    [W:2.424 / U:0.432 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site