[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20170206212210.s5ylsuidbpr44hkd@techsingularity.net>
Date: Mon, 6 Feb 2017 21:22:10 +0000
From: Mel Gorman <mgorman@...hsingularity.net>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Linux Kernel <linux-kernel@...r.kernel.org>,
Linux-MM <linux-mm@...ck.org>
Subject: [PATCH] mm, page_alloc: use static global work_struct for draining
per-cpu pages -fix
Remove obsolete comment. This is a fix for the mmotm patch
mm-page_alloc-use-static-global-work_struct-for-draining-per-cpu-pages.patch
Signed-off-by: Mel Gorman <mgorman@...hsingularity.net>
---
mm/page_alloc.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index aaa814fb8d3a..3b93879990fd 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -2377,10 +2377,6 @@ void drain_all_pages(struct zone *zone)
mutex_lock(&pcpu_drain_mutex);
}
- /*
- * As this can be called from reclaim context, do not reenter reclaim.
- * An allocation failure can be handled, it's simply slower
- */
get_online_cpus();
/*
Powered by blists - more mailing lists