* [PATCH] mm, page_alloc: use static global work_struct for draining per-cpu pages -fix
@ 2017-02-06 21:22 Mel Gorman
0 siblings, 0 replies; only message in thread
From: Mel Gorman @ 2017-02-06 21:22 UTC (permalink / raw)
To: Andrew Morton; +Cc: Linux Kernel, Linux-MM
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();
/*
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-02-06 21:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-06 21:22 [PATCH] mm, page_alloc: use static global work_struct for draining per-cpu pages -fix Mel Gorman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).