commit | b958f7d9f35bfb61625f201cd92a3fc39504af7a | [log] [tgz] |
---|---|---|
author | Andrew Morton <akpm@osdl.org> | Wed Feb 01 03:05:51 2006 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Wed Feb 01 08:53:18 2006 -0800 |
tree | 57668e6d26da9a66c98e5b0f0b1f85903cede63f | |
parent | 343e0d7a93951e35065fdb5e3dd61aece0ec6b3c [diff] |
[PATCH] dump_stack() in oom handler Sometimes it's nice to know who's calling. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
diff --git a/mm/oom_kill.c b/mm/oom_kill.c index 14bd4ec..b05ab8f 100644 --- a/mm/oom_kill.c +++ b/mm/oom_kill.c
@@ -271,6 +271,7 @@ if (printk_ratelimit()) { printk("oom-killer: gfp_mask=0x%x, order=%d\n", gfp_mask, order); + dump_stack(); show_mem(); }