]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit514bd6f92d2543c7d905b2f39074c04f23bb4729
tree808da06f0bc8ab5189f1c315a2b99c85a33ed74c
parente5de70416c1f7c6545174f5ae2e56772e737d1e8
[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