Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp725655pxb; Wed, 8 Sep 2021 10:49:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyGXB9PhXLx749ESmMxi0VujZlAUylR27YkZhCyywEmtDO0cHyMzKqAWMqjz2jSzQ7Et6w X-Received: by 2002:a5e:a601:: with SMTP id q1mr891712ioi.51.1631123353396; Wed, 08 Sep 2021 10:49:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631123353; cv=none; d=google.com; s=arc-20160816; b=GsSrGokGa0qgOqFFucTrD3Z3l16FlGvIJQhPipukKBwBeYQTqNwkEKyvKn9v9BMiM9 suQY3ZhqqW9mVQXR8KVCz5bPTLBsZ3Zo9o1+oS84s+Oc50sX94VkyHCI4P21i5nB4q9O dVyWgGuk5FNNpH1XsGxbxZgvA+RCt6d0mpOLS/g3BQZXteRr7EcFAxU3iKuiy4WXkinR +2ddw8e79hSLsdWQnzQA8tLb05N5DKXb+UTSx1qdGEV683RHeBFVEE+xbXeYd2gTuI+2 1Hll//gaE1pqProHhhNbk7C7+vi+ZoY42dUofJzZw0DXf5KyfT49Kj/Bv8EGxLWyW9Ul 5FCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=wXplQMubjcd6fCTPFQofW1bbtwJw+knTkqPSzTUItas=; b=ijhBrvBzZfWwNiVsBL6bMTEtUgmZjd+wM9l8hma5j0HqVxt3F+3BSFZl2WMoFincgf kxr45z99DD8DMv1pHH3TE2nyLK/PWpGr3F05KgbqvVpPR1yXRdAtVNyNkMkKyN7WNgLL Y+cldSWu+f4DBym+5JPpn7tq0OcTJgaLwyQUZ2bJJAN0JSDq+WkxTLxXxEXkzHmTSsSM VPipeW8jPrdsvfviokHfWAMmp4YAzBdaMVwy69sMvyRcWxqlmHCevV9xg0A9oW70RZY8 dKVymf/73m/Bfz0gHmfs1aEXsB+I6hrs0flA57g9p9SKEocosfFLgj7l0SBNl2p2ceBN Y8Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b="E/8T+sVa"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c18si2711945ioz.59.2021.09.08.10.49.01; Wed, 08 Sep 2021 10:49:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b="E/8T+sVa"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351476AbhIHRR5 (ORCPT + 99 others); Wed, 8 Sep 2021 13:17:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230217AbhIHRRz (ORCPT ); Wed, 8 Sep 2021 13:17:55 -0400 Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF9C9C061757 for ; Wed, 8 Sep 2021 10:16:46 -0700 (PDT) Received: by mail-io1-xd2d.google.com with SMTP id n24so4230737ion.10 for ; Wed, 08 Sep 2021 10:16:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=wXplQMubjcd6fCTPFQofW1bbtwJw+knTkqPSzTUItas=; b=E/8T+sVaLCWx1hbAmMySx72lTe77R2eEaA5yZQMBxdWe+SS5W9ydqZ4BBpH4BqpJ1g 5G8lncyz+I+uiGoXEcLL6IFbYIaSPzeHJDwxV4VH5CS1WqDoiemXe+95Vi+LwXeZNzUP xG7p+SZJeQ2la/u7TPBbqtdlAW5PNv2mJd+qg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=wXplQMubjcd6fCTPFQofW1bbtwJw+knTkqPSzTUItas=; b=SOU3iB7BJriIi2NkkReJU6UfgHTWgVeGlhSFu4ybbvdZitQ5SajKHRnSxO0BYCojXE NunULUg7ofA3X0JE1svMiJWTjyx++islroKGHnBXHWng88NdetdNX8yJbxjwAKQFzwxB PB9l77MqEuMcptI4ztiyJgfazbEkKkKvioQT6ofd1v3bwzdsbmYbKrQNQr1s9AwdrMnK 4fzCOPy1BZXQwlhu4jjUPYTrXw5bSDxDVkIhgtwddHPJukFy8Lx82MZd9/rggE400HMQ LuhM0kGEXgoSSGGRR6/aBpvUmAJB9R0CLV+5aN5+/8+9aXd0fbSbleC0R3axFEPCzI+u 3Mmw== X-Gm-Message-State: AOAM532JXeeP99iCvTe7da49CuBNviD/Vh49gUn3Xu0MhJ3uj0QWISQ4 YDeEq2qWcu0id2Qxqs8Ik6M/lQ== X-Received: by 2002:a6b:be02:: with SMTP id o2mr756764iof.103.1631121406277; Wed, 08 Sep 2021 10:16:46 -0700 (PDT) Received: from [192.168.1.112] (c-24-9-64-241.hsd1.co.comcast.net. [24.9.64.241]) by smtp.gmail.com with ESMTPSA id m13sm1314633ilh.43.2021.09.08.10.16.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Sep 2021 10:16:45 -0700 (PDT) Subject: Re: ipv4/tcp.c:4234:1: error: the frame size of 1152 bytes is larger than 1024 bytes [-Werror=frame-larger-than=] To: Arnd Bergmann , Brendan Higgins Cc: Linus Torvalds , Naresh Kamboju , Mathias Nyman , Johannes Berg , Jakub Kicinski , Ariel Elior , GR-everest-linux-l2@marvell.com, Wei Liu , Linux ARM , open list , Netdev , lkft-triage@lists.linaro.org, "David S. Miller" , Greg Kroah-Hartman , Nick Desaulniers , Nathan Chancellor , Daniel Borkmann , Alexei Starovoitov , Eric Dumazet , Shuah Khan References: <36aa5cb7-e3d6-33cb-9ac6-c9ff1169d711@linuxfoundation.org> From: Shuah Khan Message-ID: <120389b9-f90b-0fa3-21d5-1f789b4c984d@linuxfoundation.org> Date: Wed, 8 Sep 2021 11:16:44 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/8/21 11:05 AM, Arnd Bergmann wrote: > On Wed, Sep 8, 2021 at 4:12 PM Shuah Khan wrote: >> On 9/7/21 5:14 PM, Linus Torvalds wrote: >>> The KUNIT macros create all these individually reasonably small >>> initialized structures on stack, and when you have more than a small >>> handful of them the KUNIT infrastructure just makes the stack space >>> explode. Sometimes the compiler will be able to re-use the stack >>> slots, but it seems to be an iffy proposition to depend on it - it >>> seems to be a combination of luck and various config options. >>> >> >> I have been concerned about these macros creeping in for a while. >> I will take a closer look and work with Brendan to come with a plan >> to address it. > > I've previously sent patches to turn off the structleak plugin for > any kunit test file to work around this, but only a few of those patches > got merged and new files have been added since. It would > definitely help to come up with a proper fix, but my structleak-disable > hack should be sufficient as a quick fix. > Looks like these are RFC patches and the discussion went cold. Let's pick this back up and we can make progress. https://lore.kernel.org/lkml/CAFd5g45+JqKDqewqz2oZtnphA-_0w62FdSTkRs43K_NJUgnLBg@mail.gmail.com/ thanks, -- Shuah