Cpuset hardwall flag: add a mem_hardwall flag to cpusets
authorPaul Menage <menage@google.com>
Tue, 29 Apr 2008 08:00:26 +0000 (01:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:11 +0000 (08:06 -0700)
commit786083667e0ced85ce17c4c0b6c57a9f47c5b9f2
tree4519c51c3ec7d093fe0bafbbd67204a6f7b773b3
parentaddf2c739d9015d3e9c0500b58a3af051cd58ea7
Cpuset hardwall flag: add a mem_hardwall flag to cpusets

This flag provides the hardwalling properties of mem_exclusive, without
enforcing the exclusivity.  Either mem_hardwall or mem_exclusive is sufficient
to prevent GFP_KERNEL allocations from passing outside the cpuset's assigned
nodes.

Signed-off-by: Paul Menage <menage@google.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>
Documentation/cpusets.txt
kernel/cpuset.c