Re: [RFC] Extend mwait idle to optimize away IPIs when possible

From: Peter Zijlstra
Date: Tue Feb 14 2012 - 08:52:33 EST


On Mon, 2012-02-13 at 13:34 +0800, Yong Zhang wrote:
> Yeah, most of the things could be shared. Such as the added logic when
> return from idle and the hooks into ttwu_queue_remote() and
> generic_exec_single().
>

The thing is, those last two should not have hooks. Nor am I convinced
anything outside of the arch idle loop should have any.


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