[lkml]   [2004]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: RCU question
George Anzinger wrote:

> The "normal" idle loop just looks at the need_resched flag and goes
> right back to the hlt,

That's the problem: If a the tasklet does a wakeup then the reschedule
is delayed until the next interrupt. Testing need_resched and executing
hlt must be atomic, but it isn't - NMIs break the atomicity.
Not a big deal, except if someone implements a tickless kernel. I think
we can ignore it for now [or was the thread started by someone who
want's to disable the hardware timer when the system is really idle?]

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

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