Messages in this thread | | | Date | Sun, 12 Dec 2004 23:40:56 +0100 | From | Manfred Spraul <> | Subject | Re: 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?]
-- Manfred - 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/
| |