diff options
author | Li Zefan <lizefan@huawei.com> | 2013-06-09 11:15:22 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-06-13 19:48:32 +0200 |
commit | 070b57fcacc9dfc23a180290079078373fb697e1 (patch) | |
tree | 12bec33a6fbcb8b4db4cd5f2938dd902f244070a /ipc/sem.c | |
parent | cpuset: record old_mems_allowed in struct cpuset (diff) | |
download | linux-070b57fcacc9dfc23a180290079078373fb697e1.tar.xz linux-070b57fcacc9dfc23a180290079078373fb697e1.zip |
cpuset: introduce effective_{cpumask|nodemask}_cpuset()
effective_cpumask_cpuset() returns an ancestor cpuset which has
non-empty cpumask.
If a cpuset is empty and the tasks in it need to update their
cpus_allowed, they take on the ancestor cpuset's cpumask.
This currently won't change any behavior, but it will later allow us
to keep tasks in empty cpusets.
Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'ipc/sem.c')
0 files changed, 0 insertions, 0 deletions