diff options
author | Balasubramani Vivekanandan <balu252@gmail.com> | 2015-04-15 01:48:18 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-15 02:49:05 +0300 |
commit | 2415b9f5cb048a803b30b790af994ba71ff0bd4c (patch) | |
tree | 616a11b2a493045bee0c5e963ccdfc00c9d64d7c /fs | |
parent | 2a8e70026435ad97570a1e0a0c4c941e0f700a3e (diff) | |
download | linux-2415b9f5cb048a803b30b790af994ba71ff0bd4c.tar.xz |
memcg: print cgroup information when system panics due to panic_on_oom
If kernel panics due to oom, caused by a cgroup reaching its limit, when
'compulsory panic_on_oom' is enabled, then we will only see that the OOM
happened because of "compulsory panic_on_oom is enabled" but this doesn't
tell the difference between mempolicy and memcg. And dumping system wide
information is plain wrong and more confusing. This patch provides the
information of the cgroup whose limit triggerred panic
Signed-off-by: Balasubramani Vivekanandan <balasubramani_vivekanandan@mentor.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions