diff options
| author | Michal Hocko <[email protected]> | 2013-07-08 16:00:27 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-07-09 10:33:24 -0700 |
| commit | fa460c2d37870e0a6f94c70e8b76d05ca11b6db0 (patch) | |
| tree | 4bcee4af7ad147b1331e03910d66cc34c4e0e8dd /tools/perf/scripts/python | |
| parent | 493af578040e690f93f0fc8d9e7667ffff8155bb (diff) | |
Revert "memcg: avoid dangling reference count in creation failure"
This reverts commit e4715f01be697a.
mem_cgroup_put is hierarchy aware so mem_cgroup_put(memcg) already drops
an additional reference from all parents so the additional
mem_cgrroup_put(parent) potentially causes use-after-free.
Signed-off-by: Michal Hocko <[email protected]>
Signed-off-by: Li Zefan <[email protected]>
Acked-by: KAMEZAWA Hiroyuki <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Glauber Costa <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: <[email protected]> [3.9+]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions