diff options
author | Li Zefan <lizefan@huawei.com> | 2014-07-09 10:49:25 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-07-09 21:56:18 +0200 |
commit | afd1a8b3e0bc4d045d762dfdbc4d0cee189893a4 (patch) | |
tree | e552df774556b1b91271da1107831834d809c1de /kernel/cgroup.c | |
parent | cpuset: allow writing offlined masks to cpuset.cpus/mems (diff) | |
download | linux-afd1a8b3e0bc4d045d762dfdbc4d0cee189893a4.tar.xz linux-afd1a8b3e0bc4d045d762dfdbc4d0cee189893a4.zip |
cpuset: export effective masks to userspace
cpuset.cpus and cpuset.mems are the configured masks, and we need
to export effective masks to userspace, so users know the real
cpus_allowed and mems_allowed that apply to the tasks in a cpuset.
v2:
- export those masks unconditionally, suggested by Tejun.
Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/cgroup.c')
0 files changed, 0 insertions, 0 deletions