Re: bad: schedule() with irqs disabled! (+ ksymoops)

From: Ingo Molnar (mingo@elte.hu)
Date: Thu Aug 08 2002 - 08:56:14 EST


Bill,

please try the attached patch against 2.5.30, does it help?

        Ingo

--- linux/kernel/softirq.c.orig Thu Aug 8 15:57:42 2002
+++ linux/kernel/softirq.c Thu Aug 8 15:58:02 2002
@@ -98,10 +98,9 @@
                         mask &= ~pending;
                         goto restart;
                 }
- __local_bh_enable();
-
                 if (pending)
                         wakeup_softirqd(cpu);
+ __local_bh_enable();
         }
 
         local_irq_restore(flags);

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



This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 22:00:16 EST