]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitf04e9ebbe4909f9a41efd55149bc353299f4e83b
tree4ff31c7f918edafe7d4e4dd0e926b6ac545c7897
parentb69408e88bd86b98feb7b9a38fd865e1ddb29827
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