]> git.baikalelectronics.ru Git - kernel.git/commit
swap: use an array for the LRU pagevecs
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Sun, 19 Oct 2008 03:26:19 +0000 (20:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Oct 2008 15:50:25 +0000 (08:50 -0700)
commit4bc3af85422c44179fe678bd89c120cfbe0bb6f4
tree4ff31c7f918edafe7d4e4dd0e926b6ac545c7897
parent05fdfe33d7e8738bf883cff4d86d80294a6d53f8
swap: use an array for the LRU pagevecs

Turn the pagevecs into an array just like the LRUs.  This significantly
cleans up the source code and reduces the size of the kernel by about 13kB
after all the LRU lists have been created further down in the split VM
patch series.

Signed-off-by: Rik van Riel <riel@redhat.com>
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/pagevec.h
include/linux/swap.h
mm/migrate.c
mm/swap.c