diff options
Diffstat (limited to 'mm/oom_kill.c')
-rw-r--r-- | mm/oom_kill.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mm/oom_kill.c b/mm/oom_kill.c index 12cd4735dc29..c5e384000585 100644 --- a/mm/oom_kill.c +++ b/mm/oom_kill.c | |||
@@ -381,8 +381,9 @@ void out_of_memory(struct zonelist *zonelist, gfp_t gfp_mask, int order) | |||
381 | return; | 381 | return; |
382 | 382 | ||
383 | if (printk_ratelimit()) { | 383 | if (printk_ratelimit()) { |
384 | printk("oom-killer: gfp_mask=0x%x, order=%d\n", | 384 | printk(KERN_WARNING "%s invoked oom-killer: " |
385 | gfp_mask, order); | 385 | "gfp_mask=0x%x, order=%d, oomkilladj=%d\n", |
386 | current->comm, gfp_mask, order, current->oomkilladj); | ||
386 | dump_stack(); | 387 | dump_stack(); |
387 | show_mem(); | 388 | show_mem(); |
388 | } | 389 | } |