]> git.baikalelectronics.ru Git - kernel.git/commit
mm: mempolicy: Hide MPOL_NOOP and MPOL_MF_LAZY from userspace for now
authorMel Gorman <mgorman@suse.de>
Fri, 16 Nov 2012 09:37:58 +0000 (09:37 +0000)
committerMel Gorman <mgorman@suse.de>
Tue, 11 Dec 2012 14:42:44 +0000 (14:42 +0000)
commit05eada1c1039cd890d0b09a37e7c40fb15952206
treeceb9a2cf7f415e44f4f62a324382ec1de4a3bead
parent93fc1ad34f955778a8f921e35c95a36ce6398e0e
mm: mempolicy: Hide MPOL_NOOP and MPOL_MF_LAZY from userspace for now

The use of MPOL_NOOP and MPOL_MF_LAZY to allow an application to
explicitly request lazy migration is a good idea but the actual
API has not been well reviewed and once released we have to support it.
For now this patch prevents an application using the services. This
will need to be revisited.

Signed-off-by: Mel Gorman <mgorman@suse.de>
include/uapi/linux/mempolicy.h
mm/mempolicy.c