]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - mm/oom_kill.c
oom: print triggering task's cpuset and mems allowed
[linux-2.6-omap-h63xx.git] / mm / oom_kill.c
index e5f50cfdca4dae9afc2ca1b733aaa5df24a1d779..6b9e758c98a59ebd46168ecf150db260988fd437 100644 (file)
@@ -392,6 +392,9 @@ static int oom_kill_process(struct task_struct *p, gfp_t gfp_mask, int order,
                printk(KERN_WARNING "%s invoked oom-killer: "
                        "gfp_mask=0x%x, order=%d, oomkilladj=%d\n",
                        current->comm, gfp_mask, order, current->oomkilladj);
+               task_lock(current);
+               cpuset_print_task_mems_allowed(current);
+               task_unlock(current);
                dump_stack();
                show_mem();
                if (sysctl_oom_dump_tasks)