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

Ingo Molnar (mingo@elte.hu)
Thu, 8 Aug 2002 15:56:14 +0200 (CEST)


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/