Re: softirq question...

From: Ingo Molnar (mingo@elte.hu)
Date: Thu Dec 27 2001 - 05:36:14 EST


On Mon, 24 Dec 2001, george anzinger wrote:

> I tried a simple loop till done approach and found some issue in the
> keyboard driver where the tasklet was in the queue but disabled. The
> handler just reinserted it in the queue and flagged it as ready, thus
> looping forever in the boot code. How did you solve this problem?

i've changed the tasklet code so that this loop does not cause problems,
by reusing the SCHED bit:

+ * Being able to clear the SCHED bit from 1 to 0 means
+ * we got the right to handle this tasklet.
+ * Setting it from 0 to 1 means we can queue it.

        Ingo

-
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 : Mon Dec 31 2001 - 21:00:13 EST