commit | d8505dee1a87b8d41b9c4ee1325cd72258226fbc | [log] [tgz] |
---|---|---|
author | Shaohua Li <shaohua.li@intel.com> | Thu Jan 13 15:47:33 2011 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jan 13 17:32:50 2011 -0800 |
tree | 292c67a565c67495e78c8a403e2c2a74228d116b | |
parent | c06b1fca18c3ad868bfcaca230146e3038583422 [diff] |
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>