OSDN Git Service

Merge tag 'block-5.6-2020-02-28' of git://git.kernel.dk/linux-block
[tomoyo/tomoyo-test1.git] / mm / oom_kill.c
index d58c481..dfc3576 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/sched/mm.h>
 #include <linux/sched/coredump.h>
 #include <linux/sched/task.h>
+#include <linux/sched/debug.h>
 #include <linux/swap.h>
 #include <linux/timex.h>
 #include <linux/jiffies.h>
@@ -620,6 +621,7 @@ static void oom_reap_task(struct task_struct *tsk)
 
        pr_info("oom_reaper: unable to reap pid:%d (%s)\n",
                task_pid_nr(tsk), tsk->comm);
+       sched_show_task(tsk);
        debug_show_all_locks();
 
 done: