]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm: simplify code of swap.c
authorShaohua Li <shaohua.li@intel.com>
Thu, 13 Jan 2011 23:47:33 +0000 (15:47 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 01:32:50 +0000 (17:32 -0800)
commitd8505dee1a87b8d41b9c4ee1325cd72258226fbc
tree292c67a565c67495e78c8a403e2c2a74228d116b
parentc06b1fca18c3ad868bfcaca230146e3038583422
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>
mm/swap.c