Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp544911pxb; Wed, 8 Sep 2021 07:04:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzFYFaIlOsiLlBF4ZIg3lveab/O2gg1nWBLDhvXr8qNyRWqf5/8ssId1RjklNWmmRjAZvpf X-Received: by 2002:a92:cd05:: with SMTP id z5mr31111iln.206.1631109860630; Wed, 08 Sep 2021 07:04:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631109860; cv=none; d=google.com; s=arc-20160816; b=HvQUGThNepYBH+qMLoxsU/SqjuzNwhgDXw58NDkri22m3qYWrmFSpUWgyoaOyRiXef EdqZDdNIN7Au9H2eb2Sr281qtCt/AVDQpLk4sj1PR9JppmGZSodXdtjcoklBJUzSzi/9 GBHKZXYw87vr2xVIef2des6jKMLW/qgTbB5q1ZWXmkkMHs4EYw/OKcLgGLbClzLyzwtb bS4FhEw3PEsSV4pwKosQfdUOOd2Dg3waoHkz1ORSgBU7hRHLf+JZwlUvAC4pffWZJSQ9 Az3n3Nd2YVQI194x46DGi2kpMrgsm7bbIWGfSiPj3JfwQneX2lO01WJ5CfccZZhEJXbS m0AA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :content-language:references:message-id:in-reply-to:subject:cc:to :from:date; bh=fLyMz1GcUWKXfYiyjLtiaENRQIZKSGAVSW768k8YyME=; b=X2oGlmY84DW9SCbZxe6Kb5sYAeR42N2jqeYb6iA88vgCArzKnGGSs8rfgP5227qDG+ Zk+nrWn5le4qU0+kY5pnKI4D30s6NiDhjVpOAnlk43Z31q6LqWf9Gp1ZTyXZpD+J2Jn8 oiV3u+E2gadPB/pxwtEZTXEfS2gL675U+omBCz0Z2gTh7YNjME02m+vjBuElPB+Jacuw xCJh67BqfESPjIfjyLxxVyKqD0LSLusP7K9rAFgJhWxuT5U50JBkNu4UINk5TiCYSJ2g yMmEVPGT/XLyAtMZ82bRm2c297XqTsIWgPm1+F7aEKwrseic/wOk9/49yNRCb/fSHTAt jAJA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t42si2350014jal.13.2021.09.08.07.03.58; Wed, 08 Sep 2021 07:04:20 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351755AbhIHNzt convert rfc822-to-8bit (ORCPT + 99 others); Wed, 8 Sep 2021 09:55:49 -0400 Received: from lixid.tarent.de ([193.107.123.118]:50120 "EHLO mail.lixid.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231304AbhIHNzt (ORCPT ); Wed, 8 Sep 2021 09:55:49 -0400 X-Greylist: delayed 361 seconds by postgrey-1.27 at vger.kernel.org; Wed, 08 Sep 2021 09:55:48 EDT Received: from localhost (localhost [127.0.0.1]) by mail.lixid.net (MTA) with ESMTP id E3FB2140D67; Wed, 8 Sep 2021 15:48:38 +0200 (CEST) Received: from mail.lixid.net ([127.0.0.1]) by localhost (mail.lixid.net [127.0.0.1]) (MFA, port 10024) with LMTP id OVX3Fq7qoX0j; Wed, 8 Sep 2021 15:48:33 +0200 (CEST) Received: from tglase-nb.lan.tarent.de (vpn-172-34-0-14.dynamic.tarent.de [172.34.0.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.lixid.net (MTA) with ESMTPS id 367EF140724; Wed, 8 Sep 2021 15:48:32 +0200 (CEST) Received: by tglase-nb.lan.tarent.de (Postfix, from userid 1000) id CA1985225C8; Wed, 8 Sep 2021 15:48:31 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by tglase-nb.lan.tarent.de (Postfix) with ESMTP id C5F8E5219F0; Wed, 8 Sep 2021 15:48:31 +0200 (CEST) Date: Wed, 8 Sep 2021 15:48:31 +0200 (CEST) From: Thorsten Glaser To: Linus Torvalds cc: Naresh Kamboju , Mathias Nyman , Johannes Berg , Jakub Kicinski , Shuah Khan , Brendan Higgins , Ariel Elior , GR-everest-linux-l2@marvell.com, Wei Liu , Linux ARM , open list , Netdev , lkft-triage@lists.linaro.org, Arnd Bergmann , "David S. Miller" , Greg Kroah-Hartman , Nick Desaulniers , Nathan Chancellor , Daniel Borkmann , Alexei Starovoitov , Eric Dumazet Subject: Re: ipv4/tcp.c:4234:1: error: the frame size of 1152 bytes is larger than 1024 bytes [-Werror=frame-larger-than=] In-Reply-To: Message-ID: <53ce8db-3372-b5e2-cee7-c0ebe9c45a9@tarent.de> References: Content-Language: de-DE-1901 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 7 Sep 2021, Linus Torvalds wrote: > The do_tcp_getsockopt() one in tpc.c is a classic case of "lots of > different case statements, many of them with their own struct > allocations on stack, and all of them disjoint". Any compiler developers here? AFAIK the compiler knows the lifetime of function-local variables, so why not alias the actual memory locations and ranges to minimise stack usage? bye, //mirabilos -- Infrastrukturexperte • tarent solutions GmbH Am Dickobskreuz 10, D-53121 Bonn • http://www.tarent.de/ Telephon +49 228 54881-393 • Fax: +49 228 54881-235 HRB AG Bonn 5168 • USt-ID (VAT): DE122264941 Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg **************************************************** /⁀\ The UTF-8 Ribbon ╲ ╱ Campaign against Mit dem tarent-Newsletter nichts mehr verpassen: ╳ HTML eMail! Also, https://www.tarent.de/newsletter ╱ ╲ header encryption! ****************************************************