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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
|
|