diff options
| author | Johannes Weiner <[email protected]> | 2014-04-07 15:37:43 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-04-07 16:35:56 -0700 |
| commit | df381975463996178d685f6ef7d3555c5f887201 (patch) | |
| tree | 22fd4f923fc2cc1ed1d7c4aa94039452ce6123e5 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 03583f1a631c0511dfd2f16e716d5b40f675de5a (diff) | |
memcg: get_mem_cgroup_from_mm()
Instead of returning NULL from try_get_mem_cgroup_from_mm() when the mm
owner is exiting, just return root_mem_cgroup. This makes sense for all
callsites and gets rid of some of them having to fallback manually.
[[email protected]: fix warnings]
Signed-off-by: Johannes Weiner <[email protected]>
Signed-off-by: Fengguang Wu <[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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions