]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Direct Migration V9: Avoid writeback / page_migrate() method
authorChristoph Lameter <clameter@sgi.com>
Wed, 1 Feb 2006 11:05:41 +0000 (03:05 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:17 +0000 (08:53 -0800)
commite965f9630c651fa4249039fd4b80c9392d07a856
tree1353dd536d0ee549c30e462086624c21788ee9d2
parent7e2ab150d1b3b286a4c864c60a549b2601777b63
[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>
fs/buffer.c
fs/ext2/inode.c
fs/ext3/inode.c
fs/xfs/linux-2.6/xfs_aops.c
fs/xfs/linux-2.6/xfs_buf.c
include/linux/fs.h
include/linux/swap.h
mm/rmap.c
mm/swap_state.c
mm/vmscan.c