summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2012-10-25 16:16:28 +0400
committerMel Gorman <mgorman@suse.de>2012-12-11 18:42:39 +0400
commit479e2802d09f1e18a97262c4c6f8f17ae5884bd8 (patch)
tree7b18bff361b049d04619b196367a95463a2f1417 /include/uapi
parentd10e63f29488b0f312a443f9507ea9b6fd3c9090 (diff)
downloadlinux-479e2802d09f1e18a97262c4c6f8f17ae5884bd8.tar.xz
mm: mempolicy: Make MPOL_LOCAL a real policy
Make MPOL_LOCAL a real and exposed policy such that applications that relied on the previous default behaviour can explicitly request it. Requested-by: Christoph Lameter <cl@linux.com> Reviewed-by: Rik van Riel <riel@redhat.com> Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Mel Gorman <mgorman@suse.de>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/mempolicy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/mempolicy.h b/include/uapi/linux/mempolicy.h
index 23e62e0537e2..3e835c9d847b 100644
--- a/include/uapi/linux/mempolicy.h
+++ b/include/uapi/linux/mempolicy.h
@@ -20,6 +20,7 @@ enum {
MPOL_PREFERRED,
MPOL_BIND,
MPOL_INTERLEAVE,
+ MPOL_LOCAL,
MPOL_MAX, /* always last member of enum */
};