aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorZefan Li <[email protected]>2016-08-09 03:25:01 +0000
committerTejun Heo <[email protected]>2016-08-10 03:58:01 +0000
commit06f4e94898918bcad00cdd4d349313a439d6911e (patch)
tree97b4df37033e4270034314832dba77739b21a92f /net/switchdev/switchdev.c
parentLinux 4.8-rc1 (diff)
downloadkernel-06f4e94898918bcad00cdd4d349313a439d6911e.tar.gz
kernel-06f4e94898918bcad00cdd4d349313a439d6911e.zip
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 <[email protected]> Signed-off-by: Tejun Heo <[email protected]> Cc: [email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions