diff options
author | Michal Hocko <[email protected]> | 2018-12-28 00:39:57 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2018-12-28 12:11:52 -0800 |
commit | 7056d3a37d2c6aaaab10c13e8e69adc67ec1fc65 (patch) | |
tree | 74aeadd24b7ee5f20e44ffbd83c790021613c33e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 7af7a8e19f0c5425ff639b0f0d2d244c2a647724 (diff) |
memcg, oom: notify on oom killer invocation from the charge path
Burt Holzman has noticed that memcg v1 doesn't notify about OOM events via
eventfd anymore. The reason is that 29ef680ae7c2 ("memcg, oom: move
out_of_memory back to the charge path") has moved the oom handling back to
the charge path. While doing so the notification was left behind in
mem_cgroup_oom_synchronize.
Fix the issue by replicating the oom hierarchy locking and the
notification.
Link: http://lkml.kernel.org/r/[email protected]
Fixes: 29ef680ae7c2 ("memcg, oom: move out_of_memory back to the charge path")
Signed-off-by: Michal Hocko <[email protected]>
Reported-by: Burt Holzman <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Cc: Vladimir Davydov <[email protected]
Cc: <[email protected]> [4.19+]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions