[lkml]   [2010]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 2/4] sched: implement __set_cpus_allowed()
    On Mon, 2010-05-31 at 12:01 +0200, Peter Zijlstra wrote:
    > > but we can update cpu_active mask before other
    > > CPU_UP_PREPARE notifiers are executed so that it's symmetrical to cpu
    > > down path and then this problem goes away the exact same way, right?
    > Ah, no, we cannot mark it active before its actually up, because at that
    > time we'll actually try and run stuff on it, which clearly won't work
    > when its not there to run stuff.

    So we should clear it _before_ we go down, and set it _after_ we're up.

     \ /
      Last update: 2010-05-31 12:05    [W:0.019 / U:6.608 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site