Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp273934ybx; Tue, 5 Nov 2019 23:54:19 -0800 (PST) X-Google-Smtp-Source: APXvYqwrTqs6e8lT9n5+Q+9D0z1IRSSG8Y4dc4G02ebLsUv5iqeu1qSrPsoic3ZmP4waIOuHP2RH X-Received: by 2002:a17:906:448:: with SMTP id e8mr32735121eja.326.1573026858963; Tue, 05 Nov 2019 23:54:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573026858; cv=none; d=google.com; s=arc-20160816; b=c1Sv/4P0pnIyLiozWFeDUFX4aGBgbuREjwoY+cSm/BUc1MrQa2Xwy4E6hg1/56J2M6 z5bOjG2edG52jcaXGG4Zrwx4gO2xo+t4pWtjf+EAKLKrwptduAWCN54YXb7uwNiSuY7V 0Zu+Ge0hxcS0IK2zU/XKBgxWY+WAxtMctXcgqpf9DeVi6YzuExeIJUuSbdjTrRn3lGQs w9qco2wi5BXa3xOYA1m8yoBRKmNgxX1O1BiTnAS/klUZk9Br2xIPji3QImb9WK5GsmvY cDcgUg+EXQiX5131C0C4axMFjLeXk/ZIRUIj4g6tMwUcgyTwEZ/F8QYJU9tmYOnTex0S TKTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=brPCOCTKkvKjrigglZTpMF8KPrA5bA7n56xf+ZBhon4=; b=BHQ5pBMxw11PNckNfFEn+nPe9b7aSh3ixp4aKsUu81z1Siuz73LXFS4vXVHPDOKe87 KQ8rr1obb5EDsoCMZCq2mun9SriWUwKK+Bw8jcU73NCWSRdvmwYRw7UlhSSHbIPYx4t+ I0SaZJjuJ9Qcv0DtjRpDNr9MuXA21/zbzSydUGd+NpkAYwlQpSTmjxZxCaezFCj00yf0 K8m1+yZ5kcCNwxo8da4j5BcKzElFDuZm1ndcd7DuK+OsJhIkKZnRdi69t0+si5KR2RBi wnc6e9i3kEfKgXR1mSgoL454hRtJLL/2Kr9vlM99iNV0IaB0XVx8HUVP0DKOJ6FRuabD +Cvw== 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 h7si14635202ejp.203.2019.11.05.23.53.55; Tue, 05 Nov 2019 23:54:18 -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 S1729974AbfKFHwf (ORCPT + 99 others); Wed, 6 Nov 2019 02:52:35 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:33338 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728291AbfKFHwe (ORCPT ); Wed, 6 Nov 2019 02:52:34 -0500 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id F13C31F8067F202400CE; Wed, 6 Nov 2019 15:52:32 +0800 (CST) Received: from [127.0.0.1] (10.74.221.148) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.439.0; Wed, 6 Nov 2019 15:52:22 +0800 Subject: Re: linux-next: build warning after merge of the akpm-current tree To: Stephen Rothwell , Andrew Morton References: <20191106180531.11419dca@canb.auug.org.au> CC: Linux Next Mailing List , "Linux Kernel Mailing List" , yuqi jin , "Michal Hocko" From: Shaokun Zhang Message-ID: <8de00532-f77d-1332-817e-7c546a775db8@hisilicon.com> Date: Wed, 6 Nov 2019 15:52:22 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <20191106180531.11419dca@canb.auug.org.au> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.74.221.148] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stephen, On 2019/11/6 15:05, Stephen Rothwell wrote: > Hi all, > > After merging the akpm-current tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > lib/cpumask.c: In function 'cpumask_local_spread': > lib/cpumask.c:302:1: warning: the frame size of 5472 bytes is larger than 2048 bytes [-Wframe-larger-than=] > 302 | } > | ^ > > Introduced by commit > > 3d591f2836cf ("lib: optimize cpumask_local_spread()") > > MAX_NUMNODES == (1 << NODES_SHIFT) and NODES_SHIFT == CONFIG_NODES_SHIFT== 10, > so MAX_NUMNODES == 1024 and there is an int array and a bool array of that > size declared here :-( Thanks for the report and sorry for the warning, Michal has pointed this[1]. We are preparing the new solution and will post it soon. [1] https://lkml.org/lkml/2019/11/5/66 Thanks, Shaokun >