summaryrefslogtreecommitdiffstats
path: root/fs/internal.h
diff options
context:
space:
mode:
authorPaul Menage <menage@google.com>2008-04-29 01:00:26 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 08:06:11 -0700
commitaddf2c739d9015d3e9c0500b58a3af051cd58ea7 (patch)
tree0dec81fe642817c32c8c6b3a77dc72fb41c1a145 /fs/internal.h
parent9e0c914cabc6d75d2eafdff00671a2ad683a5e3c (diff)
downloadop-kernel-dev-addf2c739d9015d3e9c0500b58a3af051cd58ea7.zip
op-kernel-dev-addf2c739d9015d3e9c0500b58a3af051cd58ea7.tar.gz
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 <menage@google.com> Reviewed-by: Li Zefan <lizf@cn.fujitsu.com> Acked-by: Paul Jackson <pj@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/internal.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud