forked from Minki/linux
[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>
This commit is contained in:
parent
343e0d7a93
commit
b958f7d9f3
@ -271,6 +271,7 @@ void out_of_memory(gfp_t gfp_mask, int order)
|
||||
if (printk_ratelimit()) {
|
||||
printk("oom-killer: gfp_mask=0x%x, order=%d\n",
|
||||
gfp_mask, order);
|
||||
dump_stack();
|
||||
show_mem();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user