[PATCH] mm, page_alloc: use static global work_struct for draining per-cpu pages -fix
From: Mel Gorman
Date: Mon Feb 06 2017 - 16:22:18 EST
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@xxxxxxxxxxxxxxxxxxx>
---
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();
/*