unmap_and_move() is one a big messy function. Clean it up.
commitf72f0ff9b2f240ad863bf766097aff94e308e2c2
authorMinchan Kim <minchan.kim@gmail.com>
Wed, 24 Aug 2011 23:46:46 +0000 (25 09:46 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 31 Aug 2011 04:27:28 +0000 (31 14:27 +1000)
tree9d7f61d276372714f386d5f07f0f3ba34ff3ecba
parente45da73dd544c87a85ff0d89df18742dcfc2ec5d
unmap_and_move() is one a big messy function.  Clean it up.

Signed-off-by: Minchan Kim <minchan.kim@gmail.com>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Rik van Riel <riel@redhat.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/migrate.c