From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2494BCA9EB9 for ; Wed, 23 Oct 2019 08:47:11 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id E6DBD205C9 for ; Wed, 23 Oct 2019 08:47:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E6DBD205C9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=techsingularity.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 51C116B0003; Wed, 23 Oct 2019 04:47:10 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 4CC606B0006; Wed, 23 Oct 2019 04:47:10 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3E21E6B0007; Wed, 23 Oct 2019 04:47:10 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0052.hostedemail.com [216.40.44.52]) by kanga.kvack.org (Postfix) with ESMTP id 1BE1C6B0003 for ; Wed, 23 Oct 2019 04:47:10 -0400 (EDT) Received: from smtpin19.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with SMTP id 8C59075A7 for ; Wed, 23 Oct 2019 08:47:09 +0000 (UTC) X-FDA: 76074419778.19.jump45_3e6f5a658ec00 X-HE-Tag: jump45_3e6f5a658ec00 X-Filterd-Recvd-Size: 2604 Received: from outbound-smtp23.blacknight.com (outbound-smtp23.blacknight.com [81.17.249.191]) by imf06.hostedemail.com (Postfix) with ESMTP for ; Wed, 23 Oct 2019 08:47:08 +0000 (UTC) Received: from mail.blacknight.com (pemlinmail02.blacknight.ie [81.17.254.11]) by outbound-smtp23.blacknight.com (Postfix) with ESMTPS id 267CEB870F for ; Wed, 23 Oct 2019 09:47:07 +0100 (IST) Received: (qmail 28718 invoked from network); 23 Oct 2019 08:47:07 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[84.203.19.210]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 23 Oct 2019 08:47:07 -0000 Date: Wed, 23 Oct 2019 09:47:05 +0100 From: Mel Gorman To: Andrew Morton Cc: Michal Hocko , Vlastimil Babka , Thomas Gleixner , Matt Fleming , Borislav Petkov , Linux-MM , Linux Kernel Mailing List , lkp@intel.com Subject: [PATCH] mm, meminit: Recalculate pcpu batch and high limits after init completes -fix Message-ID: <20191023084705.GD3016@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: LKP reported the following build problem from two hunks that did not survive the reshuffling of the series reordering. ld: mm/page_alloc.o: in function `page_alloc_init_late': mm/page_alloc.c:1956: undefined reference to `zone_pcp_update' This is a fix for the mmotm patch mm-meminit-recalculate-pcpu-batch-and-high-limits-after-init-completes.patch Reported-by: kbuild test robot Signed-off-by: Mel Gorman --- mm/page_alloc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index f9488efff680..12f3ce09d33d 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -8627,7 +8627,6 @@ void free_contig_range(unsigned long pfn, unsigned int nr_pages) WARN(count != 0, "%d pages are still in use!\n", count); } -#ifdef CONFIG_MEMORY_HOTPLUG /* * The zone indicated has a new number of managed_pages; batch sizes and percpu * page high values need to be recalulated. @@ -8638,7 +8637,6 @@ void __meminit zone_pcp_update(struct zone *zone) __zone_pcp_update(zone); mutex_unlock(&pcp_batch_high_lock); } -#endif void zone_pcp_reset(struct zone *zone) {