]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit8070620b3e99d5cb336ff6070e819f260e245756
treec7cde93441692e3b32d83dfbf85858ab2d85e481
parent661e21e292b10a7d1dca3cf11a6a6e9cc2d475be
[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