[PATCH] Swap Migration V5: MPOL_MF_MOVE interface
authorChristoph Lameter <clameter@sgi.com>
Sun, 8 Jan 2006 09:00:50 +0000 (01:00 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:12:41 +0000 (20:12 -0800)
commitdc9aa5b9d65fd11b1f5246b46ec610ee8b83c6dd
tree808da06f0bc8ab5189f1c315a2b99c85a33ed74c
parent7cbe34cf86c673503b177ff47cfa2c7030dabb50
[PATCH] Swap Migration V5: MPOL_MF_MOVE interface

Add page migration support via swap to the NUMA policy layer

This patch adds page migration support to the NUMA policy layer.  An
additional flag MPOL_MF_MOVE is introduced for mbind.  If MPOL_MF_MOVE is
specified then pages that do not conform to the memory policy will be evicted
from memory.  When they get pages back in new pages will be allocated
following the numa policy.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/mempolicy.h
mm/mempolicy.c