aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaul Menage <[email protected]>2008-04-29 01:00:26 -0700
committerLinus Torvalds <[email protected]>2008-04-29 08:06:11 -0700
commitaddf2c739d9015d3e9c0500b58a3af051cd58ea7 (patch)
tree0dec81fe642817c32c8c6b3a77dc72fb41c1a145 /tools/perf/scripts/python
parent9e0c914cabc6d75d2eafdff00671a2ad683a5e3c (diff)
Cpuset hardwall flag: switch cpusets to use the bulk cgroup_add_files() API
Currently the cpusets mem_exclusive flag is overloaded to mean both "no-overlapping" and "no GFP_KERNEL allocations outside this cpuset". These patches add a new mem_hardwall flag with just the allocation restriction part of the mem_exclusive semantics, without breaking backwards-compatibility for those who continue to use just mem_exclusive. Additionally, the cgroup control file registration for cpusets is cleaned up to reduce boilerplate. This patch: This change tidies up the cpusets control file definitions, and reduces the amount of boilerplate required to add/change control files in the future. Signed-off-by: Paul Menage <[email protected]> Reviewed-by: Li Zefan <[email protected]> Acked-by: Paul Jackson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions