diff options
author | Vladimir Davydov <[email protected]> | 2014-12-10 15:43:40 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-12-10 17:41:06 -0800 |
commit | bc2f2e7ffe5b6292c74ee1206d6ca303e13886b2 (patch) | |
tree | b1282dbc1b6f76da3e48ba8b6ba785b51159e5ec /tools/perf/scripts/python/sched-migration.py | |
parent | 6f7c97e80b813879a17c0e8ef343cc414761e6f5 (diff) |
memcg: simplify unreclaimable groups handling in soft limit reclaim
If we fail to reclaim anything from a cgroup during a soft reclaim pass
we want to get the next largest cgroup exceeding its soft limit. To
achieve this, we should obviously remove the current group from the tree
and then pick the largest group. Currently we have a weird loop instead.
Let's simplify it.
Signed-off-by: Vladimir Davydov <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions