lkml.org 
[lkml]   [2013]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] hotplug: Optimize {get,put}_online_cpus()
    On Wed, Oct 02, 2013 at 02:13:56PM +0200, Oleg Nesterov wrote:
    > On 10/02, Peter Zijlstra wrote:
    > > And given the construct; I'm not entirely sure you can do away with the
    > > sync_sched() in between. While its clear to me you can merge the two
    > > into one; leaving it out entirely doesn't seem right.
    >
    > Could you explain?

    Somehow I thought the fastpath got enabled; it doesn't since we never
    hit GP_IDLE, so we don't actually need that.

    You're right.


    \
     
     \ /
      Last update: 2013-10-02 14:41    [W:4.037 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site