Messages in this thread | | | Date | Mon, 16 Aug 2004 05:36:23 +0200 | From | Ingo Molnar <> | Subject | Re: [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/
| |