Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8340999rwb; Tue, 13 Dec 2022 05:21:27 -0800 (PST) X-Google-Smtp-Source: AA0mqf6pblgqiLIyMr2hlGex3c++oZiKFt9+EymlR65YebzBcU2I042Wti0tDUtGV9MHXzZ46C1n X-Received: by 2002:aa7:96ab:0:b0:576:b8d0:6034 with SMTP id g11-20020aa796ab000000b00576b8d06034mr22993155pfk.31.1670937686792; Tue, 13 Dec 2022 05:21:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670937686; cv=none; d=google.com; s=arc-20160816; b=iXVTYpHBJzBIJkg8VemsTOgfEVI+6jk5RtcXfzViueeW15Xp/4sw73cPr52vGiGuG6 rg8z4CpvDtUJMguw9yu34wk4kIEWEyCNb0iBDbA1zzMUKk+9XX7KLCNPviosspESwgC7 +vR+pdSXPcr+ZU/XsqwQtOwZlYHjuuvEykRleJbn7iniD3hbX4P4UZNc8oycv38m7o/l zGofkfTJnm3Wf60LzGgzlSHLh9xA4d0pVCLXiLg3/0Wa2wa8MHuPeMX0Stqlf00oCyHt m4iraNOJ/Ql0cTYfkCD7BVW2vn4aM0bcOxyi1/5PCmswsn7KsSSHEcT1zArCDVoXZ+5+ fVhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=KAw/HCOljVHgj+BBWaxcjEK33owb4M1DkrrbLVmLoWw=; b=uZaZUi0wLogMq4g8QeCNd55VDTz06fPwkzUX/VTLmCWnhByOuHUgLuyv9uybeyQwqh OGXt2GpbQFvGbhwsATgEU+dFuPKEDJBwK85G6Qy3FH2nG1tqbMKGStJOTeZbnH81BDBO 9kSo4IwWIk7Aw9TE/jnlXuxKMxYC6QHxEtdwDcVLKawW+rbLxh0T0cjnvlV4GSF5njOg VR2yNjTzjxYYRu8Cf4FaPmq9iC8aHQYI4Q/waPBCUNQmWkwk7iCcUqw+cmg61fJ6aqTu HB24ejj+T7djM23pH/QzmdW2n8IJrXBEO/Gc0iqXCZPzEycvxVkFSXeQrmWRAEsQ8B1/ lI/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="huP9rr/H"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q22-20020a056a00085600b0057a6c320956si2901012pfk.220.2022.12.13.05.21.16; Tue, 13 Dec 2022 05:21:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="huP9rr/H"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235326AbiLMNLq (ORCPT + 75 others); Tue, 13 Dec 2022 08:11:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233881AbiLMNLn (ORCPT ); Tue, 13 Dec 2022 08:11:43 -0500 Received: from mail-oa1-x2a.google.com (mail-oa1-x2a.google.com [IPv6:2001:4860:4864:20::2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1EECB39 for ; Tue, 13 Dec 2022 05:11:42 -0800 (PST) Received: by mail-oa1-x2a.google.com with SMTP id 586e51a60fabf-1322d768ba7so12429564fac.5 for ; Tue, 13 Dec 2022 05:11:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=KAw/HCOljVHgj+BBWaxcjEK33owb4M1DkrrbLVmLoWw=; b=huP9rr/HVBP83fyB5N0+LBuYlVDBMGfGd0YBRQ4/4AFRAeLmOs4Og3i5XmVF8mmlEX 7EPJuq3Xbso7e6GI43D/lRf+iJ5rkJiG5+nefMhsYQs14eDHzptdKOldM4XMNuzviaWA kSMnBbItB9vK3OAJR5X3LzRX8gEb7BFUTbWholDpApRN+jTwyMShFBqpEYBZK5NISJxz d0FJFN/53cs2d1AeBdXx/tRJ3RgG0ZrpJ6Dlu0qnwu7QYgugeUwb0wccamiQbrJrMsNo KIsTrPv8v3FYyeDj5q/Su9i8u/eE6kNf75zOkWaIY/BUOYRkIFMYRlry+0wQlB92db+a GGpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KAw/HCOljVHgj+BBWaxcjEK33owb4M1DkrrbLVmLoWw=; b=N+8eG3x6b0hJwhIXi5Ro/ar/tAkN/KqsanEWQJcRn777DnEmYptkUGHVuESYJKJKM+ eZGG+8m4AAUBv8zYmM8Tlc1PRT/Q4IeCyQ80NqFLnKf4MuD8msjrSCP/7eofUU3E/JN+ RAqqPCYIAjstuSELurKLdLJFju262T3Wi/ObLTSIaTlTTEInS5xgN8AzAm+Tbb3UujO9 HSPai182AoNw+77hq/LCNYia+mMHxyXL6FEXuhtJS2GltE7rr9CQN64b6FHNoT5SWl1l Mmbmd5i3TVcIHpqUoKbB9BKyqVwNowbDLPKkphDue4FK9kDClIzdaZsaOkNToXYUZpx4 QMoQ== X-Gm-Message-State: ANoB5pnNWmphiUNZhjZvzRJ4abOAaAt8KQj1e3U9HP1bP+yvRm3KdFPH lyBem2cmR6Hkfndgv+GUq8M= X-Received: by 2002:a05:6870:6b97:b0:144:8103:8e88 with SMTP id ms23-20020a0568706b9700b0014481038e88mr10411248oab.5.1670937101949; Tue, 13 Dec 2022 05:11:41 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id ep41-20020a056870a9a900b001447602267esm1361026oab.41.2022.12.13.05.11.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 05:11:41 -0800 (PST) Sender: Guenter Roeck Date: Tue, 13 Dec 2022 05:11:40 -0800 From: Guenter Roeck To: "Sudip Mukherjee (Codethink)" Cc: Vlastimil Babka , Andrey Ryabinin , Alexander Potapenko , Andrey Konovalov , Dmitry Vyukov , Vincenzo Frascino , Andrew Morton , kasan-dev@googlegroups.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Linus Torvalds Subject: Re: mainline build failure due to e240e53ae0ab ("mm, slub: add CONFIG_SLUB_TINY") Message-ID: <20221213131140.GA3622636@roeck-us.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 13, 2022 at 10:26:20AM +0000, Sudip Mukherjee (Codethink) wrote: > Hi All, > > The latest mainline kernel branch fails to build xtensa allmodconfig > with gcc-11 with the error: > > kernel/kcsan/kcsan_test.c: In function '__report_matches': > kernel/kcsan/kcsan_test.c:257:1: error: the frame size of 1680 bytes is larger than 1536 bytes [-Werror=frame-larger-than=] > 257 | } > | ^ > > git bisect pointed to e240e53ae0ab ("mm, slub: add CONFIG_SLUB_TINY") > In part that is because above commit changes Kconfig dependencies such that xtensa:allmodconfig actually tries to build kernel/kcsan/kcsan_test.o. In v6.1, CONFIG_KCSAN_KUNIT_TEST is not enabled for xtensa:allmodconfig. Downside of the way SLUB_TINY is defined is that it is enabled for all allmodconfig / allyesconfig builds, which then disables building a lot of the more sophisticated memory allocation options. Guenter