]> git.karo-electronics.de Git - karo-tx-linux.git/commit
page migration: fix NR_FILE_PAGES accounting
authorChristoph Lameter <clameter@sgi.com>
Mon, 23 Apr 2007 21:41:09 +0000 (14:41 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 2 May 2007 00:06:01 +0000 (17:06 -0700)
commit637fc7e479a60ae55357c0e3ffeca5a475ef5733
treea1775a46b6442316ab4dba3b80a748880aa68dd4
parentaad6bcca0b1ca356ede42583c96dc7ada541cffe
page migration: fix NR_FILE_PAGES accounting

NR_FILE_PAGES must be accounted for depending on the zone that the page
belongs to.  If we replace the page in the radix tree then we may have to
shift the count to another zone.

Suggested-by: Ethan Solomita <solo@google.com>
Cc: Martin Bligh <mbligh@mbligh.org>
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
mm/migrate.c