mm: fix page reclaim comment error
authorWanpeng Li <liwp@linux.vnet.ibm.com>
Thu, 14 Jun 2012 12:41:02 +0000 (20:41 +0800)
committerJiri Kosina <jkosina@suse.cz>
Thu, 28 Jun 2012 09:54:12 +0000 (11:54 +0200)
commitbe7bd59db71dfb6dc011c9880fec5a659430003a
tree04d73bb9befe49d82c3d07e955b93a0186056364
parent422aa274203469771460411ffb2f70c241770b80
mm: fix page reclaim comment error

Since there are five lists in LRU cache, the array nr in get_scan_count
should be:

nr[0] = anon inactive pages to scan; nr[1] = anon active pages to scan
nr[2] = file inactive pages to scan; nr[3] = file active pages to scan

Signed-off-by: Wanpeng Li <liwp.linux@gmail.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Acked-by: Minchan Kim <minchan@kernel.org>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
mm/vmscan.c