commit | 06f4e94898918bcad00cdd4d349313a439d6911e | [log] [tgz] |
---|---|---|
author | Zefan Li <lizefan@huawei.com> | Tue Aug 09 11:25:01 2016 +0800 |
committer | Tejun Heo <tj@kernel.org> | Tue Aug 09 23:58:01 2016 -0400 |
tree | 97b4df37033e4270034314832dba77739b21a92f | |
parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc [diff] |
cpuset: make sure new tasks conform to the current config of the cpuset 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@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org> Cc: stable@vger.kernel.org