lkml.org 
[lkml]   [2012]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v3 3/5] cpusets: Update tasks' cpus_allowed mask upon updates to root cpuset
    On Mon, 14 May 2012, Srivatsa S. Bhat wrote:

    > The root cpuset's cpus_allowed mask can get updated during CPU hotplug.
    > However, during those updates, the tasks belonging to the root cpuset
    > aren't touched at all - their cpus_allowed masks aren't updated to reflect
    > the change in the configuration of the cpuset they belong to.
    >
    > Fix this by moving the update of top_cpuset.cpus_allowed to
    > scan_cpusets_upon_hotplug() and ensure that the call to update_tasks_cpumask()
    > is not missed out for the root cpuset, including for cpu online events.
    >
    > Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>

    Acked-by: David Rientjes <rientjes@google.com>


    \
     
     \ /
      Last update: 2012-05-15 03:21    [W:0.030 / U:89.220 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site