[PATCH] mm-fix: mm, oom_reaper: do not mmput synchronously from the oom reaper context

From: Michal Hocko
Date: Tue Apr 26 2016 - 10:48:13 EST


In file included from include/linux/sched.h:27:0,
from include/linux/oom.h:5,
from mm/oom_kill.c:20:
>> include/linux/mm_types.h:516:21: error: field 'async_put_work' has incomplete type
struct work_struct async_put_work;

Reported-by: kbuild test robot <lkp@xxxxxxxxx>
Signed-off-by: Michal Hocko <mhocko@xxxxxxxx>
---
include/linux/mm_types.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h
index f4f477244679..ab142ace96f3 100644
--- a/include/linux/mm_types.h
+++ b/include/linux/mm_types.h
@@ -12,6 +12,7 @@
#include <linux/cpumask.h>
#include <linux/uprobes.h>
#include <linux/page-flags-layout.h>
+#include <linux/workqueue.h>
#include <asm/page.h>
#include <asm/mmu.h>

--
2.8.0.rc3

--
Michal Hocko
SUSE Labs