Messages in this thread Patch in this message | | | Date | Wed, 26 Jul 2017 18:43:19 +0200 | From | Andrea Arcangeli <> | Subject | Re: [PATCH] mm, oom: allow oom reaper to race with exit_mmap |
| |
On Wed, Jul 26, 2017 at 06:29:12PM +0200, Andrea Arcangeli wrote: > From 3d9001490ee1a71f39c7bfaf19e96821f9d3ff16 Mon Sep 17 00:00:00 2001 > From: Andrea Arcangeli <aarcange@redhat.com> > Date: Tue, 25 Jul 2017 20:02:27 +0200 > Subject: [PATCH 1/1] mm: oom: let oom_reap_task and exit_mmap to run > concurrently
This needs an incremental one liner...
diff --git a/mm/mmap.c b/mm/mmap.c index bdab595ce25c..fd16996ee0a8 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -44,6 +44,7 @@ #include <linux/userfaultfd_k.h> #include <linux/moduleparam.h> #include <linux/pkeys.h> +#include <linux/oom.h> #include <linux/uaccess.h> #include <asm/cacheflush.h>
| |