Messages in this thread | | | Subject | Re: [RFC] Extend mwait idle to optimize away IPIs when possible | From | Peter Zijlstra <> | Date | Sat, 11 Feb 2012 04:09:21 +0100 |
| |
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.
| |