Re: [PATCH v3 3/5] cpusets: Update tasks' cpus_allowed mask uponupdates to root cpuset
From: David Rientjes
Date: Mon May 14 2012 - 20:31:28 EST
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@xxxxxxxxxxxxxxxxxx>
Acked-by: David Rientjes <rientjes@xxxxxxxxxx>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/