lkml.org 
[lkml]   [2000]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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.

Bye.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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