Received: by 10.223.185.116 with SMTP id b49csp972163wrg; Wed, 21 Feb 2018 09:54:14 -0800 (PST) X-Google-Smtp-Source: AH8x227IRE1SMSY3Z4U9pJB0x8JXV8N0H4VgC8KH7kzpx/rvlmfZxNCXeolavhAEY7UGionXnSPa X-Received: by 10.167.128.81 with SMTP id y17mr4022730pfm.91.1519235654304; Wed, 21 Feb 2018 09:54:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519235654; cv=none; d=google.com; s=arc-20160816; b=kj0s9OTR8a4P+2v7Cc7tieTT6Z9t515EJKiOBZK8l+ut8zREDLVkF7GGoYvfg7C3Xy EHRO8riG1brsR8DOj5+c71Tjnb4CGQo25Z2KUMqZyhqQLiJ9LloPAdBgcGxEfF5BDobj VS6lYUONKMbcqR7qUlNk0iiXiP0RuuBat9CZe4W6dGZyVLV64psLV6P3EcXN1h4rU03+ 0VucIlgoTaAVQ8slJzs5zHPL5lDN+p8rPzeimRchp/eXWZfw6vs68OBERdkmAJZfeILu UxG8B8gaD1HPfk/4cwNYBzU7KKmVY8DBiMpNAbcqdfqhH6VoXoHelGV0p4dSmlvyL5+p CrvA== 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=oF8GvvEmzpeeNxRECgIwU7/dtmSMfPMfFsqSNJUASSw=; b=hhUW7MzmjGe5pe++oHiyC5zGiWWqRmqCK5G9a9Erzm4Do19ccU+vmFy2gMjRhvxYsB 8S4F+FoTwB9Yss6JY8zvEapd1UocaYSlYxt5/sbUEf5bYgbdWVapc0BqMm5t9n7zrCe9 kA52xTN70TneiXnGMXpO5ZTpZzamV0wMUJxEC4h2lAbb6KIhV2C6qzgeZKCJ7tWha3lT KRl+VuwVqLDmpHppRjPHTi/rrtH6XIy/uS2I9/Er1XGiFIfrblv8ufqk4AhBHBGyNb7e /WRZ/mQScDCrdrvs5xwMZDwpgpRNt1IHtMdxL6HeWO8K6DnBlbyMLWzYeu9l7I8cYJtG Lcrw== 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 h1-v6si1866502pld.16.2018.02.21.09.54.00; Wed, 21 Feb 2018 09:54:14 -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 S934406AbeBUM4G (ORCPT + 99 others); Wed, 21 Feb 2018 07:56:06 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:34642 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934394AbeBUM4D (ORCPT ); Wed, 21 Feb 2018 07:56:03 -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 962FF11AC; Wed, 21 Feb 2018 12:56:02 +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.9 10/77] mm: hide a #warning for COMPILE_TEST Date: Wed, 21 Feb 2018 13:48:19 +0100 Message-Id: <20180221124432.594430035@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180221124432.172390020@linuxfoundation.org> References: <20180221124432.172390020@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.9-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 @@ -75,7 +75,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