Re: [patch] voluntary-preempt-2.6.8.1-P0
From: Ingo Molnar
Date: Sun Aug 15 2004 - 22:38:08 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/