diff options
| author | Johannes Weiner <[email protected]> | 2012-01-12 17:17:59 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-01-12 20:13:05 -0800 |
| commit | 5660048ccac8735d9bc0a46325a02e6a6518b5b2 (patch) | |
| tree | 4b2269ddd6ca001843187a89fb91278192028d87 /tools/perf/scripts/python/netdev-times.py | |
| parent | 527a5ec9a53471d855291ba9f1fdf1dd4e12a184 (diff) | |
mm: move memcg hierarchy reclaim to generic reclaim code
Memory cgroup limit reclaim and traditional global pressure reclaim will
soon share the same code to reclaim from a hierarchical tree of memory
cgroups.
In preparation of this, move the two right next to each other in
shrink_zone().
The mem_cgroup_hierarchical_reclaim() polymath is split into a soft
limit reclaim function, which still does hierarchy walking on its own,
and a limit (shrinking) reclaim function, which relies on generic
reclaim code to walk the hierarchy.
Signed-off-by: Johannes Weiner <[email protected]>
Reviewed-by: KAMEZAWA Hiroyuki <[email protected]>
Reviewed-by: Michal Hocko <[email protected]>
Reviewed-by: Kirill A. Shutemov <[email protected]>
Cc: Daisuke Nishimura <[email protected]>
Cc: Balbir Singh <[email protected]>
Cc: Ying Han <[email protected]>
Cc: Greg Thelen <[email protected]>
Cc: Michel Lespinasse <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Hugh Dickins <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions