Re: 2.6.13-rc7-rt1

From: Daniel Walker
Date: Thu Aug 25 2005 - 16:51:03 EST



Wakeup race checking shouldn't trigger when interrupts are off. Here's a
fix.

Daniel

Index: linux-2.6.12/kernel/rt.c
===================================================================
--- linux-2.6.12.orig/kernel/rt.c 2005-08-25 21:33:43.000000000 +0000
+++ linux-2.6.12/kernel/rt.c 2005-08-25 21:44:20.000000000 +0000
@@ -257,6 +257,7 @@ void check_preempt_wakeup(struct task_st
* hangs and race conditions.
*/
if (!preempt_count() &&
+ !__raw_irqs_disabled() &&
p->prio < current->prio &&
rt_task(p) &&
(current->rcu_read_lock_nesting != 0 ||


-
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/