[PATCH] Direct Migration V9: Avoid writeback / page_migrate() method
Migrate a page with buffers without requiring writeback This introduces a new address space operation migratepage() that may be used by a filesystem to implement its own version of page migration. A version is provided that migrates buffers attached to pages. Some filesystems (ext2, ext3, xfs) are modified to utilize this feature. The swapper address space operation are modified so that a regular migrate_page() will occur for anonymous pages without writeback (migrate_pages forces every anonymous page to have a swap entry). Signed-off-by:Mike Kravetz <kravetz@us.ibm.com> Signed-off-by:
Christoph Lameter <clameter@sgi.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
- fs/buffer.c 60 additions, 0 deletionsfs/buffer.c
- fs/ext2/inode.c 2 additions, 0 deletionsfs/ext2/inode.c
- fs/ext3/inode.c 2 additions, 0 deletionsfs/ext3/inode.c
- fs/xfs/linux-2.6/xfs_aops.c 1 addition, 0 deletionsfs/xfs/linux-2.6/xfs_aops.c
- fs/xfs/linux-2.6/xfs_buf.c 1 addition, 0 deletionsfs/xfs/linux-2.6/xfs_buf.c
- include/linux/fs.h 8 additions, 0 deletionsinclude/linux/fs.h
- include/linux/swap.h 5 additions, 0 deletionsinclude/linux/swap.h
- mm/rmap.c 1 addition, 0 deletionsmm/rmap.c
- mm/swap_state.c 1 addition, 0 deletionsmm/swap_state.c
- mm/vmscan.c 19 additions, 1 deletionmm/vmscan.c
Loading
Please register or sign in to comment