lkml.org 
[lkml]   [2001]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: softirq question...

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/

\
 
 \ /
  Last update: 2005-03-22 13:14    [W:0.116 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site