lkml.org 
[lkml]   [2010]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/4] sched: implement __set_cpus_allowed()
    Hello,

    On 05/31/2010 12:46 PM, Peter Zijlstra wrote:
    > So workers _are_ thread bound and don't migrate, so for those I don't
    > see the problem, that is of course until we have to break affinity when
    > their CPU goes down, at which point we should clear PF_THREAD_BOUND I
    > think.
    >
    > For the rescue thread, why not set PF_THREAD_BOUND when its running
    > worklets and clear it when done? That way we get extra checking that
    > people won't migrate it when its not allowed.
    >
    > Does that work, or did I miss something?

    The rescuers migrate themselves so should be okay. I still think it
    would be better to migrate back detached workers. It's a slow path
    for sure but there's a big gaping hole between machine-slow and
    human-slow and works can be human-slow (ie. hotplug operation not
    finished in several minutes). I'll see if that's implementable w/o
    adding an additional interface.

    Thanks.

    --
    tejun


    \
     
     \ /
      Last update: 2010-05-31 13:49    [W:0.023 / U:62.988 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site