On Sun, 2007-02-18 at 10:50 +0100, Alex Riesen wrote: > > The arch/i386/kernel/process.c part of the patch should apply to 2.6.20 > > as well. Can you check if the problem is there too ? > > It does not apply and does not look trivially hackable. > The code for cpu_idle was introduced in 2ff2d3d7 "i386: add idle notifier".
Here you go. tglx Index: linux-2.6.20/arch/i386/kernel/process.c =================================================================== --- linux-2.6.20.orig/arch/i386/kernel/process.c +++ linux-2.6.20/arch/i386/kernel/process.c @@ -189,6 +189,13 @@ void cpu_idle(void) play_dead(); __get_cpu_var(irq_stat).idle_timestamp = jiffies; + + local_irq_disable(); + if (local_softirq_pending() && !need_resched()) + printk(KERN_ERR + "Idle: local softirq pending: %04x\n", + local_softirq_pending()); + local_irq_enable(); idle(); } preempt_enable_no_resched(); - 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/