memcg: remove mem_cgroup_cal_reclaim()
authorKOSAKI Motohiro <[email protected]>
Thu, 8 Jan 2009 02:08:21 +0000 (18:08 -0800)
committerLinus Torvalds <[email protected]>
Thu, 8 Jan 2009 16:31:08 +0000 (08:31 -0800)
commit9439c1c95b5c25b8031b2a7eb7e1590eb84be7f5
tree79eaae56278407e0a223e562a2d0079834ca5529
parent3e2f41f1f64744f7942980d93cc93dd3e5924560
memcg: remove mem_cgroup_cal_reclaim()

Now, get_scan_ratio() return correct value although memcg reclaim.  Then,
mem_cgroup_calc_reclaim() can be removed.

So, memcg reclaim get the same capability of anon/file reclaim balancing
as global reclaim now.

Acked-by: KAMEZAWA Hiroyuki <[email protected]>
Acked-by: Rik van Riel <[email protected]>
Signed-off-by: KOSAKI Motohiro <[email protected]>
Cc: Balbir Singh <[email protected]>
Cc: Daisuke Nishimura <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/memcontrol.h
mm/memcontrol.c
mm/vmscan.c