]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] dump_stack() in oom handler
authorAndrew Morton <akpm@osdl.org>
Wed, 1 Feb 2006 11:05:51 +0000 (03:05 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:18 +0000 (08:53 -0800)
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>
mm/oom_kill.c

index 14bd4ec7959736106b1d2574e1fdd82f999242bf..b05ab8f2a562292277bca720ca40a7c14834f520 100644 (file)
@@ -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();
        }