Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6895610rwl; Mon, 9 Jan 2023 14:43:04 -0800 (PST) X-Google-Smtp-Source: AMrXdXti6tfLLQCZ76Mkg4ImrZkFzbmeAwm+IC/V22MyIWB/8nRJN2dYbeRL/4tZ3uOQ7KB3o7T/ X-Received: by 2002:a05:6402:2146:b0:46c:7035:2f6d with SMTP id bq6-20020a056402214600b0046c70352f6dmr59615867edb.38.1673304184381; Mon, 09 Jan 2023 14:43:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673304184; cv=none; d=google.com; s=arc-20160816; b=U+4Qcw/AmW5PAR9ioc70q1iNXsDa/N2vU0DHzFguS8oj5H1ZrPTze8uE2uWftzZDbK JrhngTaXkK0jTDE2mgJ178n3NWS9M9svWW7AuyabbYD1qX+uiINLj7TWJ4VhifUE2owo /F+PctjIrv6Y0bb5E7YCEdsxexcbIdkuXzkSYz5P+liv2EDMTdX6MAk+Z5u/KUs9LSV+ XuG17sQj21fVwGutJa8cqZ3Urp/+gCK/YyAFzkQsoGSEz82+lVd51VsWV3h0z/998Qrp GR4z05Z9VS4RVx+OevOjW7MVf7LXgGtV1G+784psogUix5xwgqEG+yQsSgMrI8nE7JDq iXKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Etjm9Dlk/7tnYluKuL1l8cLN4HXN57cHBo2UWgCm8No=; b=j4uHlag5DzD3dh0pR4QlF+4fWH2OXSYRIz8BMSh/SlxW92XNxN1J2YI6qL9T48Oakr i3zfHsJtlxCV9zBR2lO9BZTYXXBiN+L23MhCbAyOd4FwAeH5rDzCU8VwZdpwldW2zmWJ BPs6E5I5/Scyj55lVYGJHsOTcLrO+p/olkiDncB9/4us8+S3hjZkVKHIJ1vWN3QQvx0d z67RQPeqzo3LvBkKl577MPlIuOR2CQoW3+1WsB8q1sfoyrKT66E6Y2w7ACvAatXw3H0H 8aQJP2lzPYc1S7cubU4pnIzlHifzymujntHs1WTNntCD7tm3CCFINnODTM4u7aDXM2nL RV+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=RSsUv4do; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h2-20020a056402280200b0047f9f11dab3si11683615ede.25.2023.01.09.14.42.51; Mon, 09 Jan 2023 14:43:04 -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=@google.com header.s=20210112 header.b=RSsUv4do; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235560AbjAIWag (ORCPT + 53 others); Mon, 9 Jan 2023 17:30:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235352AbjAIWad (ORCPT ); Mon, 9 Jan 2023 17:30:33 -0500 Received: from mail-yw1-x1131.google.com (mail-yw1-x1131.google.com [IPv6:2607:f8b0:4864:20::1131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9E1F9FEA for ; Mon, 9 Jan 2023 14:30:31 -0800 (PST) Received: by mail-yw1-x1131.google.com with SMTP id 00721157ae682-4a263c4ddbaso133148417b3.0 for ; Mon, 09 Jan 2023 14:30:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Etjm9Dlk/7tnYluKuL1l8cLN4HXN57cHBo2UWgCm8No=; b=RSsUv4doBWTGohcwA0QQ20imwlo+rji/mohqkj5jdECFaQl5cvpATDvzr0roz9Fihz FZIbp2zbXD6Nq7ax9iHixOeNXRe1avfQRPqVoWgZYi7jVoa72Zyz5XKAUiAOGTvPgbNK djJfAi+tnt8lPIC4YapAVpXMBC/bN+SIs1HHCCQjPJy/9hbXdaHXE2PcQLW5TCc9ycIn 1BiC9ZmgRl7kMJrE7ELi5ETo1n4GG8OqpIifPfMBMqbAwaZ8OqpZ1MEvtchqqYTWVBnM 12uXvCsKIof4e7KeiU+9CUIMK0ptewOlPwJp2a+/EvC3BnddrfuBeM7QuVZMUN8ImP7y khsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Etjm9Dlk/7tnYluKuL1l8cLN4HXN57cHBo2UWgCm8No=; b=6Mzlsc/ogh7PL7LtQQQB+AplGBq4l9Z1MmZqMnIg2o7zgKWyWa+WcKvULZVM9ytLWG EGxtBC83ujgnPZc6y90nlyIm28SR3Xvod66ME/CW2bEKvMvfHHCplJAr2BVhx/5+pMS6 Wi4HW+xtMDg5D5x5Myri1Pv+xNgZcatbq5TFk8U9bmUPmLcknSoPqfjgnUN1XRuYevsY BAjWnZ7y23MIWCRY49xRZxSZjAK5H/Yee/B35zX30swc/3AnpwuFShCPPnmL4rQQ8gRm v8pddjwD4vdR/twpXllTglUeUHRYN3xXOV/nw1JOovxzsTJNS+tBpS9epS4RZSaphgh1 AI9A== X-Gm-Message-State: AFqh2kr4wF5oIxyeSuCvtJfrCeEVuyNRVNwfwYIsxGrfuH3muNRSNQ30 V0QRzxLgDO9XNPVIl6E3gCTvNOg/LM8yBIXxvfy0Vw== X-Received: by 2002:a0d:e347:0:b0:4b9:89a3:3d03 with SMTP id m68-20020a0de347000000b004b989a33d03mr2291119ywe.11.1673303430778; Mon, 09 Jan 2023 14:30:30 -0800 (PST) MIME-Version: 1.0 References: <20230109174742.GA1191249@roeck-us.net> In-Reply-To: From: Marco Elver Date: Mon, 9 Jan 2023 23:29:54 +0100 Message-ID: Subject: Re: Linux 6.2-rc3 To: Linus Torvalds Cc: Guenter Roeck , "Paul E. McKenney" , Peter Zijlstra , Kees Cook , Jaegeuk Kim , Vlastimil Babka , Linux Kernel Mailing List , Max Filippov Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham 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 Mon, 9 Jan 2023 at 23:18, Linus Torvalds wrote: [...] > > 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 > > > > Context: CONFIG_SLUB_TINY is enabled with allmodconfig builds. > > This enables some previously disabled configurations and disables > > some previously enabled configurations. > > I do think that the test code should be a lot more careful about > random things on stack. > > We've had this before with the EXPECT() macros generating *much* too > much stack space, and it's not ok for test code to violate kernel > coding standards even if it might be a "odd config that isn't > realistic". > > That function does some odd things, including > > typeof(observed.lines) expect; > > WHAT IS THAT TYPE? It turns out that we have > > static struct { > spinlock_t lock; > int nlines; > char lines[3][512]; > } observed = { > > so it's basically a 1.5kB byte array. > > And then des > > char tmp[2][64]; > > to add some more pressure. So yeah, can't blame the compiler being > stupid, this is just bad code. > > This is all very much a "this needs to be fixed, or the test just > needs to be removed, because that's not acceptable". > > None of this is new, but clearly it was hidden by config issues > before. Added the guilty parties. The 1.5kB array is being fixed by https://lore.kernel.org/lkml/20221231004514.317809-1-jcmvbkbc@gmail.com/ -- I suppose it's fair if you'd like to pull that patch right away, or wait for the next PR from the xtensa tree (Cc Max). Thanks, -- Marco