diff options
| author | KOSAKI Motohiro <[email protected]> | 2009-01-07 18:08:20 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-01-08 08:31:08 -0800 |
| commit | 3e2f41f1f64744f7942980d93cc93dd3e5924560 (patch) | |
| tree | 7b605c407b7470877fd9c5c853407f75edcbeb49 /include/linux/timerqueue.h | |
| parent | a3d8e0549d913e30968fa02e505dfe02c0a23e0d (diff) | |
memcg: add zone_reclaim_stat
Introduce mem_cgroup_per_zone::reclaim_stat member and its statics
collecting function.
Now, get_scan_ratio() can calculate correct value on memcg reclaim.
[[email protected]: avoid reclaim_stat oops when disabled]
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: Hugh Dickins <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions