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

From: Peter Zijlstra
Date: Fri Feb 10 2012 - 22:09:28 EST


On Fri, 2012-02-10 at 18:11 -0800, Venki Pallipadi wrote:

> OK. Moving most of this into arch code will be cleaner. But, Yong
> mentioned in this thread that he was looking to do something similar
> on MIPS. So, we may end up with some code duplication though..

If there's significant duplication you can always move a few helpers
into lib/, but I think we shouldn't let this get outside of the PIC and
idle code (both clearly arch specific), all we're doing is optimizing
the IPI delivery, conceptually we're still sending one.


--
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/