diff options
author | 2014-07-09 16:48:01 +0800 | |
---|---|---|
committer | 2014-07-09 15:56:17 -0400 | |
commit | 39bd0d15eca5af15ee1492964f317ecdb024a9d6 (patch) | |
tree | 243ed22f95b40f48faa3e14c7fe9bcaf69e3e8ff /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cpuset: use effective cpumask to build sched domains (diff) | |
download | linux-dev-39bd0d15eca5af15ee1492964f317ecdb024a9d6.tar.xz linux-dev-39bd0d15eca5af15ee1492964f317ecdb024a9d6.zip |
cpuset: initialize top_cpuset's configured masks at mount
We now have to support different behaviors for default hierachy and
legacy hiearchy, top_cpuset's configured masks need to be initialized
accordingly.
Suppose we've offlined cpu1.
On default hierarchy:
# mount -t cgroup -o __DEVEL__sane_behavior xxx /cpuset
# cat /cpuset/cpuset.cpus
0-15
On legacy hierarchy:
# mount -t cgroup xxx /cpuset
# cat /cpuset/cpuset.cpus
0,2-15
Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions