Hi,

there's a hunk in patch-2.6.23-rc2-rt2, which looks like a bug-fix, 
also relevant for the mainline kernel:

@@ -477,8 +550,8 @@ static inline void finish_lock_switch(st
        smp_wmb();
        prev->oncpu = 0;
 #endif
-#ifndef __ARCH_WANT_INTERRUPTS_ON_CTXSW
-       local_irq_enable();
+#ifdef __ARCH_WANT_INTERRUPTS_ON_CTXSW
+       local_irq_disable();
 #endif
 }
 #endif /* __ARCH_WANT_UNLOCKED_CTXSW */

But it is not in the mainline until now, although this seems to be 
affecting both platforms defining __ARCH_WANT_INTERRUPTS_ON_CTXSW and 
those not defining it. So, my question is - has it been submitted into 
mainline? If not - why, and what can be consequences of this bug (resp. of 
fixing it)?

Thanks
Guennadi
---------------------------------
Guennadi Liakhovetski, Ph.D.
DSA Daten- und Systemtechnik GmbH
Pascalstr. 28
D-52076 Aachen
Germany
-
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to