lkml.org 
[lkml]   [2012]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC] Extend mwait idle to optimize away IPIs when possible
    On Tue, Feb 14, 2012 at 02:52:17PM +0100, Peter Zijlstra wrote:
    > 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.

    Yeah, it's general place; and smp_need_ipi() plays well.

    > Nor am I convinced
    > anything outside of the arch idle loop should have any.

    'idle loop' is the key point :)

    Thanks,
    Yong


    \
     
     \ /
      Last update: 2012-02-15 03:03    [W:0.027 / U:91.008 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site