[lkml]   [2000]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: scheduler ignores need_resched flag in 2.2.x and 2.3.x?

Please let me understand... The code does something like:

0 disable interrupts
1 set reschedule flag
2 enable interrupts
3 iret
If an interrupt occurs betweet 2 and 3 the flag value gets lost.

What means interrups are disabled ? Incoming ints are simply ignored (I
really don't thin this is the case) or are they queued ? Because in that
case we get an int immediately after the enable-int call, and the window
where we can get an int is 0-3, and not 2-3. Way larger.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:57    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean