Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1575155

[PATCH] mm, page_alloc: use static global work_struct for draining per-cpu pages -fix

From Mel Gorman <mgorman@techsingularity.net>
Newsgroups linux.kernel
Subject [PATCH] mm, page_alloc: use static global work_struct for draining per-cpu pages -fix
Date 2017-02-06 22:30 +0100
Message-ID <t7Z1g-1XE-15@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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@techsingularity.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();
 
 	/*

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] mm, page_alloc: use static global work_struct for draining  per-cpu pages -fix Mel Gorman <mgorman@techsingularity.net> - 2017-02-06 22:30 +0100

csiph-web