Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2510423imm; Thu, 7 Jun 2018 11:53:11 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL0831aHwPcmjodix7P/a36ce2o48MAx5wK2/mZ/LWPaiKjjq/YK0/U1aY/yee7C0sKHr2P X-Received: by 2002:a17:902:1029:: with SMTP id b38-v6mr3159479pla.277.1528397591298; Thu, 07 Jun 2018 11:53:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528397591; cv=none; d=google.com; s=arc-20160816; b=FMosabn/yrxhMWuQ88snCuMoF644vEEtPCG3CVvsdyMReCthQYtRlyF+hztigBTxwk C5c6h/9LhKIlet/HRJtoYNUMN+yKBkKQ2BmVP3c6o5Q6rAegJWgBYoUSuWX7bnzVgm22 1bR7tyAEHiUV1nVsGfY0XPiaxoEnrtqItfheTzWBnMkvzdE74+S7IwhWbhPgQ9rnfKlC /yZKMEdQbUcCapGBG1XKOhHyhWqZ4HIW4WYI3JxHwn5NfSfpFjj6F0mBkXh5s+X0k6RB JZS2DicxszCKsAS6foWt0Z90EnOvsQe9oatVe0ndSQ29Rcr0GRl0RDmLjSKWMK/HYvjh Ny4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition :arc-authentication-results; bh=BEfx5pTBmhka49nwY/QBjlBnib4r4j7GmIgAupQYIE8=; b=dJQHWyRvVxPo0LXvrN6smMIxpsIZcodmhA22Ea93tlskBYoRL+eJCqJ++6DXt7KZJc JrFaO65NJXUDqkhpY2qrOnJaArBDxT+7kDAjmD/d2eVNJag2YvSZt5z2dvYIV3fkHX1U tR4zQusqIq2NB7dqbqJVqm+Ewx2zGgnG3k8TWCux80lwyCEZLo+Hb42qXJoezpDkZyTd y3+csKy4cCzezkl6YkButoZhjFYGmB4kuqghZRXiqXzPVUG3Y3NpUt1KUHLVB+Ja3dqV 2FBBhrf0DDrWOdW5wVLcZX2HrXlGG+etrGnE0th3nctGRBgkHnncPrPOuFcRjRhcLqNR Jgdw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g10-v6si50049349plq.523.2018.06.07.11.52.57; Thu, 07 Jun 2018 11:53:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935826AbeFGPXX (ORCPT + 99 others); Thu, 7 Jun 2018 11:23:23 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:41214 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933073AbeFGO6r (ORCPT ); Thu, 7 Jun 2018 10:58:47 -0400 Received: from [148.252.241.226] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1fQvbb-0005hJ-Kv; Thu, 07 Jun 2018 15:09:35 +0100 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1fQvb8-00034f-6K; Thu, 07 Jun 2018 15:09:06 +0100 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Linus Torvalds" , "Arnd Bergmann" Date: Thu, 07 Jun 2018 15:05:21 +0100 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 250/410] mm: hide a #warning for COMPILE_TEST In-Reply-To: X-SA-Exim-Connect-IP: 148.252.241.226 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.57-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Arnd Bergmann commit af27d9403f5b80685b79c88425086edccecaf711 upstream. We get a warning about some slow configurations in randconfig kernels: mm/memory.c:83:2: error: #warning Unfortunate NUMA and NUMA Balancing config, growing page-frame for last_cpupid. [-Werror=cpp] The warning is reasonable by itself, but gets in the way of randconfig build testing, so I'm hiding it whenever CONFIG_COMPILE_TEST is set. The warning was added in 2013 in commit 75980e97dacc ("mm: fold page->_last_nid into page->flags where possible"). Signed-off-by: Arnd Bergmann Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- mm/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/memory.c +++ b/mm/memory.c @@ -71,7 +71,7 @@ #include "internal.h" -#ifdef LAST_CPUPID_NOT_IN_PAGE_FLAGS +#if defined(LAST_CPUPID_NOT_IN_PAGE_FLAGS) && !defined(CONFIG_COMPILE_TEST) #warning Unfortunate NUMA and NUMA Balancing config, growing page-frame for last_cpupid. #endif