[PATCH] SwapMig: Extend parameters for migrate_pages()
authorChristoph Lameter <clameter@sgi.com>
Sun, 8 Jan 2006 09:00:55 +0000 (01:00 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:12:42 +0000 (20:12 -0800)
commitd498471133ff1f9586a06820beaeebc575fe2814
treec7cde93441692e3b32d83dfbf85858ab2d85e481
parentee27497df36823f2793212cad0997c044eb0e1eb
[PATCH] SwapMig: Extend parameters for migrate_pages()

Extend the parameters of migrate_pages() to allow the caller control over the
fate of successfully migrated or impossible to migrate pages.

Swap migration and direct migration will have the same interface after this
patch so that patches can be independently applied to the policy layer and the
core migration code.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/swap.h
mm/mempolicy.c
mm/vmscan.c