]> git.karo-electronics.de Git - linux-beck.git/commit
vmscan: get_scan_ratio() cleanup
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Fri, 5 Mar 2010 21:41:47 +0000 (13:41 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Mar 2010 19:26:24 +0000 (11:26 -0800)
commit84b18490d1f1bc7ed5095c929f78bc002eb70f26
tree2543443925b2852436979d4bdf18d916a6b5c11e
parent45973d74fd3b1e3e16c025b688a725c7653b1443
vmscan: get_scan_ratio() cleanup

The get_scan_ratio() should have all scan-ratio related calculations.
Thus, this patch move some calculation into get_scan_ratio.

Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmscan.c