Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp355281rwi; Mon, 10 Oct 2022 01:00:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7QlEG78WGaiSMJ1D3sdk1ZE086WLvRbhNwNI42sbGcXoO78sTzPtWOgRLLPO7Cj4jlvzOd X-Received: by 2002:a05:6402:2146:b0:458:15d7:b99a with SMTP id bq6-20020a056402214600b0045815d7b99amr16852397edb.24.1665388833393; Mon, 10 Oct 2022 01:00:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665388833; cv=none; d=google.com; s=arc-20160816; b=oGRGZtlU3yCurGLfK2CO1No9EBvOCqSeTU7y+c0IkYFsg3Pd8NAdiiY0JH/XqShZqw JXLiOqLuic9g9WSWfEkUorhS0D73sy8SAvfGLvUei+vEa46rnv6ibigw77KkWGI9mv0u U3/OSktl2GFWfeFQxe9YjPqicWm3Ni6gLv1exCJJd21+f0w5aeMPczqdtg3+wYX6+maD 37NrNa3CYmlBVmZbF/oXfIBfoz/mlkH0gHYqtdjcl/IhmOvlKA9dSkjseYwLgp+AqQ38 1Nx19TwawnbVDYAT4xpTwsZMuR7vLXc/UTEjeUdp71jaVOMBcdJLoW1UtIoykbe6bGm4 7IDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=OFUv8c+2MzmYT8lMonYPvZZaslvumQk9pf4sVf3ZRKQ=; b=M4Dh+WreXDxOte1HXMoUXnRYnyylft3fVZyHHzQ5cLbTJmyZsN2kyAEwBhcWFo6JAo kqMTbRwXDkGaotLMGDgq/PbZOBdrw4+zGphpLIlxfDHTfU1i0K9sZmWGZvxDDPW/vuof Mp9TuTLYZoDeHusynMtQTxmsNtvuOF/xZKwGx4U8l6NovgDXguEqXPqhLV76czezFKLZ CE0Nh9zDUhcMRLNnT96+CoUgbvFmkr5bLlQl9W1VLZQG+3bvq48UJf6OK07iMmPggeZD KEU5wmptq+2Uc0rVZyZ6F8T55jYcOgK0pHaPuLWR9XhnXT1a8w96eQ9qoJhIeDeM0K8e tR+Q== ARC-Authentication-Results: i=1; mx.google.com; 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 hd18-20020a170907969200b0078db6f488cesi2249285ejc.112.2022.10.10.01.00.03; Mon, 10 Oct 2022 01:00:33 -0700 (PDT) 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; 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 S232558AbiJJHr7 (ORCPT + 99 others); Mon, 10 Oct 2022 03:47:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232552AbiJJHrj (ORCPT ); Mon, 10 Oct 2022 03:47:39 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6E81193C8; Mon, 10 Oct 2022 00:44:47 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 481C968AFE; Mon, 10 Oct 2022 09:44:09 +0200 (CEST) Date: Mon, 10 Oct 2022 09:44:09 +0200 From: Christoph Hellwig To: Nick Desaulniers Cc: Andrew Morton , Arnd Bergmann , Alexander Viro , Nathan Chancellor , Tom Rix , Xiaoming Ni , Luis Chamberlain , Andi Kleen , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, Christoph Hellwig , Eric Dumazet , "Darrick J. Wong" , Greg Kroah-Hartman Subject: Re: [PATCH] fs/select: mark do_select noinline_for_stack for 32b Message-ID: <20221010074409.GA20998@lst.de> References: <20221007201140.1744961-1-ndesaulniers@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221007201140.1744961-1-ndesaulniers@google.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE 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 Fri, Oct 07, 2022 at 01:11:40PM -0700, Nick Desaulniers wrote: > Effectively a revert of > commit ad312f95d41c ("fs/select: avoid clang stack usage warning") > > Various configs can still push the stack useage of core_sys_select() > over the CONFIG_FRAME_WARN threshold (1024B on 32b targets). > > fs/select.c:619:5: error: stack frame size of 1048 bytes in function > 'core_sys_select' [-Werror,-Wframe-larger-than=] Btw, I also see a warning here with all my KASAN x86_64 gcc builds.