lkml.org 
[lkml]   [2005]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: 2.6.13-rc7-rt1
From
Date

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@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-08-25 23:53    [W:0.126 / U:0.024 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site