From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752864AbdBFVWP (ORCPT ); Mon, 6 Feb 2017 16:22:15 -0500 Received: from outbound-smtp08.blacknight.com ([46.22.139.13]:33716 "EHLO outbound-smtp08.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752411AbdBFVWN (ORCPT ); Mon, 6 Feb 2017 16:22:13 -0500 Date: Mon, 6 Feb 2017 21:22:10 +0000 From: Mel Gorman To: Andrew Morton Cc: Linux Kernel , Linux-MM Subject: [PATCH] mm, page_alloc: use static global work_struct for draining per-cpu pages -fix Message-ID: <20170206212210.s5ylsuidbpr44hkd@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline User-Agent: Mutt/1.6.2 (2016-07-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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(); /*