Shaohua Li d8505dee1a mm: simplify code of swap.c
Clean up code and remove duplicate code.  Next patch will use
pagevec_lru_move_fn introduced here too.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Minchan Kim <minchan.kim@gmail.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-01-13 17:32:50 -08:00
..
2011-01-13 17:32:42 -08:00
2010-08-08 21:57:23 +01:00
2011-01-13 17:32:49 -08:00
2011-01-13 17:32:42 -08:00
2011-01-13 17:32:47 -08:00
2011-01-13 17:32:43 -08:00
2011-01-13 17:32:47 -08:00
2009-09-22 07:17:35 -07:00
2011-01-13 17:32:49 -08:00
2010-03-24 16:31:21 -07:00
2011-01-13 17:32:46 -08:00
2011-01-13 17:32:41 -08:00
2010-05-21 18:31:21 -04:00
2011-01-13 17:32:41 -08:00
2010-05-25 08:07:00 -07:00
2011-01-07 17:50:26 +11:00
2011-01-13 17:32:33 -08:00
2011-01-13 17:32:43 -08:00
2011-01-13 17:32:41 -08:00
2011-01-13 17:32:50 -08:00
2011-01-13 17:32:41 -08:00
2011-01-13 17:32:36 -08:00
2011-01-13 17:32:43 -08:00