Received: by 10.223.185.116 with SMTP id b49csp1016535wrg; Wed, 21 Feb 2018 10:37:12 -0800 (PST) X-Google-Smtp-Source: AH8x227EE7catQZClmqKAneDg9XDDrUclOmk1ADXfpAg3bzVHs3Py2GhA0vdxbh8luGSzp73cYz6 X-Received: by 10.99.107.202 with SMTP id g193mr3401764pgc.38.1519238232268; Wed, 21 Feb 2018 10:37:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519238232; cv=none; d=google.com; s=arc-20160816; b=QTMR5Cd0w1DDdjhcn2GYzdkzvx0pee6XdwZrMtmuPmIihaUnBc467FUh7KjBEXlvCk zvs3nn2LBbECWippaVBifrFdJoBsp/q+bnUK/uN99Wl5TeVasCAPMbhzxkokrNRajRoL DyA0x6ZSswdFXs0XxyoIdo5M5i+vMhrL9VQISxykcrirotOkOzZgfqlzZwLFNFILAGyo yL5dTWwFekg4HL8+GId7nrtPrm53+Io9oNvS1nVCfKDAdrgpuav3HGB2telbQcE/eTzN O1vihbwVFCfaC8YnfFB+jUO2PckHqsKkuQ28niwHqQKguQ0EvzR5Bj9LXd30fScO0csl //2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=z68s5DxPYEnvRZPAjRehVSXpJaiAyG5TaNTTgsTZJEY=; b=jdoD6c9tQMO/QnPKSGnFqUqg87ZwBbGCpRYU0ayRsnFxbmfxAmCKNuDye/QV6SVeZ9 d4JRkSJNWYoBlGpXywautxmAf4ZGPxVS+vYCdFCKB4+Lsch3fH375WqLXHsnIrkCOi26 Qz9glXkoMuPiOwKNjV8oMXQ30Ezn9VIZpp6lN8XhynpOYyclz0lSKznStM4A5gQKpzes sKMLyUQXJRIYbH0afokNk6LUEvEX452fJHWU3DiMEBHvWLuFA/njfxpRncFHoyZPkJd1 F3vZgmGNsyZ0PwRFuptwAlnNQB8bHuShKJxv0v5K4fHlTWxmcjHj+ND3U0PX0r1yYDiT 0IbA== 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 l62si10012134pfl.160.2018.02.21.10.36.57; Wed, 21 Feb 2018 10:37:12 -0800 (PST) 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 S936346AbeBUNLR (ORCPT + 99 others); Wed, 21 Feb 2018 08:11:17 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:44488 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933490AbeBUNLJ (ORCPT ); Wed, 21 Feb 2018 08:11:09 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id E39C31232; Wed, 21 Feb 2018 13:10:33 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Linus Torvalds Subject: [PATCH 4.15 110/163] mm: hide a #warning for COMPILE_TEST Date: Wed, 21 Feb 2018 13:48:59 +0100 Message-Id: <20180221124536.278089927@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180221124529.931834518@linuxfoundation.org> References: <20180221124529.931834518@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.15-stable 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"). Cc: stable@vger.kernel.org Signed-off-by: Arnd Bergmann Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- mm/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/memory.c +++ b/mm/memory.c @@ -81,7 +81,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