On 8/7/07, Luck, Tony <[EMAIL PROTECTED]> wrote: > This looks like it re-introduces code that Ken Chen backed out > about two years ago. Here's Ken's commit that explains what > broke last time we made the idle loop look like this. Now > that code was wider ranging ... messing with TIF bits too, > so maybe this is different this time?
Yeah, I think the TIF flag was the key in fixing the resched IPI notification. The change in default_idle() is an optimization. I'm horrified to see the same code coming back: doing interrupt enable/disable in the most inner while loop. Disable interrupt is just crude, but I suppose that's the only way to resolve the race condition? Looking at other arch like x86_64, it is also doing the same thing. - Ken - To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
