]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/migrate: Introduce migrate_misplaced_page()
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 17 Jul 2012 20:54:51 +0000 (22:54 +0200)
committerIngo Molnar <mingo@kernel.org>
Sun, 28 Oct 2012 16:31:06 +0000 (17:31 +0100)
commitb33467764d8a734f836482c552880ae53d2c967f
treea9eaad3805b9575f24e6d2db5e37cfb12f1ea536
parentdb4aa58db59a2a296141c698be8b4535d0051ca1
mm/migrate: Introduce migrate_misplaced_page()

Add migrate_misplaced_page() which deals with migrating pages from
faults.

This includes adding a new MIGRATE_FAULT migration mode to
deal with the extra page reference required due to having to look up
the page.

Based-on-work-by: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Reviewed-by: Rik van Riel <riel@redhat.com>
Cc: Paul Turner <pjt@google.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/n/tip-es03i8ne7xee0981brw40fl5@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/migrate.h
include/linux/migrate_mode.h
mm/migrate.c