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