Re: [PATCH] cpuset: make sure new tasks conform to the current config of the cpuset

From: Tejun Heo
Date: Wed Aug 10 2016 - 00:00:06 EST


On Tue, Aug 09, 2016 at 11:25:01AM +0800, Zefan Li wrote:
> A new task inherits cpus_allowed and mems_allowed masks from its parent,
> but if someone changes cpuset's config by writing to cpuset.cpus/cpuset.mems
> before this new task is inserted into the cgroup's task list, the new task
> won't be updated accordingly.
>
> Signed-off-by: Zefan Li <lizefan@xxxxxxxxxx>

Applied to cgroup/for-4.8-fixes w/ stable cc'd.

Thanks.

--
tejun