From patchwork Thu Mar 1 15:26:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Levin X-Patchwork-Id: 130258 Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp2949102edc; Thu, 1 Mar 2018 07:35:50 -0800 (PST) X-Google-Smtp-Source: AG47ELusHk8LtXgS1OtbIhr+1j+FVlrGAAr8M77+Zx0hitggarRubfNfsbqKGvqCw1faqwbbV07d X-Received: by 10.98.223.93 with SMTP id u90mr2349700pfg.13.1519918549877; Thu, 01 Mar 2018 07:35:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519918549; cv=none; d=google.com; s=arc-20160816; b=ndU5RCUvQIqJRUTmUH3W8DsbOTcH8fLFxvvMSg+r7DPPzLMNfWvxOZQBXrdaHjz5JS 1JEaDc3vDDyKqwNlNuwqi29TDM2tBI4ksBhh4aiCKHiqze4m5HAe7iNxgOgI+QofQOIW iGud5fyzdFb7a90XBz3QBSPChL1D6+L5GI+OiSXm39U+OdXsqi/V/LcTwu74BUVz0YQe ly5X+HRMWAAajaF7eCmZFCLVXL6MQPrW8n8W9SDXkjfKIaWItcQ6IdfZEOUhi+G7mr2/ zIZCbA1Dti3CFHWbrVfuhDeKwOeWgF+Vw3aGj1mFwWW6ggZxY5H+4gxz1ZfOZS7GX9Si Pruw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=zEGbsuCaJ/eoqdbvKh7sHsT91a7gc6BZqIH79qVJ0pA=; b=oktPGiyaAxXOeCvFBFiBAFYMgbvrZuvTLTicxslPsnLtMnNyieylE35gji8YahslRC ACe3meHI+IMNHIrvollsMQqoHAxNgKXVn2h/tE/ogyYm22/R7voRXPlowfP55NiTDNHU NmOuYgnLnVKtoW3WYDM54h1f68UpzIW3fEqgX0GXJ5eEWwHq+fy1xgSPn9axAj7pRPt2 maiJvbG86bir5zmhXKKbRTTgXcP6p4bOYPWL6NP+KQs5oEBCMYo2strPFmQVgA0bcssr V6erg02C4q5+F6PfxC2D1+kxOn2ICgBFf6F5b4DIVKMOsH3TbtQgoSdpLfXrgGygA+TV OIgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=dCHYvG2X; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g4si3157102pfh.98.2018.03.01.07.35.49; Thu, 01 Mar 2018 07:35:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=dCHYvG2X; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032472AbeCAPfr (ORCPT + 10 others); Thu, 1 Mar 2018 10:35:47 -0500 Received: from mail-sn1nam02on0133.outbound.protection.outlook.com ([104.47.36.133]:15072 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1032373AbeCAPfl (ORCPT ); Thu, 1 Mar 2018 10:35:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=zEGbsuCaJ/eoqdbvKh7sHsT91a7gc6BZqIH79qVJ0pA=; b=dCHYvG2XSss5iAtL0varE/1GSXLa2AacY5Fucnu6Uc57oYnws0q0yLlmVYR61nIGi8fta/HwfgGK/STNKw5lDu8vIy+5p3t06aBBFSulCiU6B3FgcYS5PGcGfiZx6xzRb/I2n15wVGzhxENQq8QQYM0sFTL8Ys7H3hj6ShoEmk8= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB0885.namprd21.prod.outlook.com (52.132.132.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.567.2; Thu, 1 Mar 2018 15:35:37 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8063:c68a:b210:7446]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8063:c68a:b210:7446%2]) with mapi id 15.20.0567.006; Thu, 1 Mar 2018 15:35:37 +0000 From: Sasha Levin To: "stable@vger.kernel.org" , "stable-commits@vger.kernel.org" CC: Arnd Bergmann , Linus Torvalds , Sasha Levin Subject: [added to the 4.1 stable tree] mm: hide a #warning for COMPILE_TEST Thread-Topic: [added to the 4.1 stable tree] mm: hide a #warning for COMPILE_TEST Thread-Index: AQHTsXGrK2noZjTiOUSxEX5vTv3MdA== Date: Thu, 1 Mar 2018 15:26:28 +0000 Message-ID: <20180301152116.1486-368-alexander.levin@microsoft.com> References: <20180301152116.1486-1-alexander.levin@microsoft.com> In-Reply-To: <20180301152116.1486-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DM5PR2101MB0885; 6:EA/uqEWgwOtIawWk/BFhGTxJabmwVzI+qYpmAPubLz63poYzI6CfODuM3r8y0aR6WvZl5RfQoekGO3L55pQxQAds3+1ANbDxDgxJ+7A8X8EYAd01MAIK8Lnetpsmvuf9TdCjUs51u7XpTzVdbP9KYh1MDcKQuUVWsumGCQHqKmYvEg+6kf315/JB8iDMN3TkjwPRZVW/CfSJ+SNirRQVmkByDv/7athWo+UbvQ48Igntgxh2+uYmUMMWrKjvX2yF9Rj8Nvhs3tfWw9A4RyyK8PpEF4qy/y2lJlmQ5y8MISYDcBhqPXCqgRdoAkhBY45H/xfIQQKe8VMFOVaDs9wbm2lImy2fEkKZXrGq7i5pAcrbnIdYII+KRrPuzWcOFu7Y; 5:G7HcB7bRP6jlwurLy8oFRFZ+HZYQ/pjE3NAnrJATqmFUpZl7bTO7Za8kixJeNKjqVIMhsm469H0+A4geSHwyGRqSmS2AIy27a9lmRBvnkEOmJZu/Rg6d2OuPbNwfRakks3/3T1cnblWxNOaWQE9Jnv2TTRtpmivn2RwOEhktaVQ=; 24:u7RP8PR1kBGLUn6o6D+pyWb5pSPNQz/pIY/Yb0xPvUoJWtMfeLBUAm2OjYykljVrLHMnc99pqsp34NLScw/gJtChaKkHjJLhrysZXNglQd8=; 7:Z4t8In0pVWaADwvh4BDIzLBvmLA0QqYrKl6ZRt82WJHPKgyuN1k7B5NgyUdhkGjp+mQbGHnei4pz3tRKrYDpuXZYAUEtiE69lkajS2B1vpAaCAXSW5LH5Ykl3AeKQN07uiSy3+8PByKhyrvGxkk7Bs2vPkdq6SmrMmo36mlk+8FLDZCxdiDiwRC9MDAw4A7gj7Tffl82fYrpouUUNJScacCd2LHNtN/k4Ls+CennyM3CpLHYKVXlTSu57T2ksGII x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: abcc28ea-e9ec-41a4-d0ff-08d57f8a14ec x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7193020); SRVR:DM5PR2101MB0885; x-ms-traffictypediagnostic: DM5PR2101MB0885: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(9452136761055); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(61425038)(6040501)(2401047)(8121501046)(5005006)(3231220)(944501225)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(61426038)(61427038)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(20161123562045)(20161123564045)(6072148)(201708071742011); SRVR:DM5PR2101MB0885; BCL:0; PCL:0; RULEID:; SRVR:DM5PR2101MB0885; x-forefront-prvs: 05986C03E0 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(346002)(396003)(376002)(39860400002)(39380400002)(199004)(189003)(26005)(316002)(107886003)(1076002)(478600001)(54906003)(105586002)(8676002)(110136005)(53936002)(2950100002)(2906002)(6666003)(5660300001)(10290500003)(86362001)(3280700002)(10090500001)(97736004)(3660700001)(14454004)(59450400001)(4326008)(6512007)(3846002)(6486002)(106356001)(36756003)(6116002)(66066001)(6506007)(5250100002)(99286004)(6436002)(2501003)(305945005)(6346003)(76176011)(25786009)(102836004)(68736007)(22452003)(2900100001)(186003)(7736002)(86612001)(72206003)(81156014)(8936002)(81166006)(22906009); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR2101MB0885; H:DM5PR2101MB1032.namprd21.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: kjiGBGA++AbK2Wsc5KGfMGrtY8QPoL15RnBUoA4k59asNS51b7aOuU2ZDSTvfHfYvcnzi1IRZh7oJW+WZduc076vjMhuK7uxU+lJD6fjS+iKpl2qsT0NDVdlhsvMOeAsoqFTfr+jZ6rdnOCNGYeXDhc6gcRKEQGwP0VCJ/hhW3U= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: abcc28ea-e9ec-41a4-d0ff-08d57f8a14ec X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Mar 2018 15:26:28.6668 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB0885 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Arnd Bergmann This patch has been added to the 4.1 stable tree. If you have any objections, please let us know. -- 2.14.1 =============== [ Upstream commit af27d9403f5b80685b79c88425086edccecaf711 ] 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: Sasha Levin --- mm/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/memory.c b/mm/memory.c index fc449016d10e..942daab4dc57 100644 --- 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