Zefan Li 06ec7a1d76 cpuset: make sure new tasks conform to the current config of the cpuset
commit 06f4e94898918bcad00cdd4d349313a439d6911e upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-24 10:07:39 +02:00
..
2016-06-24 10:18:17 -07:00
2016-09-15 08:27:53 +02:00
2015-11-04 08:23:51 -05:00
2016-08-10 11:49:27 +02:00
2016-09-24 10:07:36 +02:00
2015-11-23 09:44:58 +01:00
2015-11-05 19:34:48 -08:00