aboutsummaryrefslogtreecommitdiff
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorZefan Li <lizefan@huawei.com>2016-08-09 11:25:01 +0800
committerTejun Heo <tj@kernel.org>2016-08-09 23:58:01 -0400
commit06f4e94898918bcad00cdd4d349313a439d6911e (patch)
tree97b4df37033e4270034314832dba77739b21a92f /kernel/fork.c
parent29b4817d4018df78086157ea3a55c1d9424a7cfc (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
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions