[PATCH] page migration reorg
authorChristoph Lameter <clameter@sgi.com>
Wed, 22 Mar 2006 08:09:12 +0000 (00:09 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 22 Mar 2006 15:54:06 +0000 (07:54 -0800)
commitb20a35035f983f4ac7e29c4a68f30e43510007e0
treefdf090ddddbcc275349f62f71adc98649e2c683b
parent442295c94bf650221af3ef20fc68fa3e93876818
[PATCH] page migration reorg

Centralize the page migration functions in anticipation of additional
tinkering.  Creates a new file mm/migrate.c

1. Extract buffer_migrate_page() from fs/buffer.c

2. Extract central migration code from vmscan.c

3. Extract some components from mempolicy.c

4. Export pageout() and remove_from_swap() from vmscan.c

5. Make it possible to configure NUMA systems without page migration
   and non-NUMA systems with page migration.

I had to so some #ifdeffing in mempolicy.c that may need a cleanup.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/buffer.c
fs/xfs/linux-2.6/xfs_buf.c
include/linux/migrate.h [new file with mode: 0644]
include/linux/swap.h
mm/Kconfig
mm/Makefile
mm/mempolicy.c
mm/migrate.c [new file with mode: 0644]
mm/swap_state.c
mm/vmscan.c