Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp585806rdb; Sun, 18 Feb 2024 02:30:42 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWArXg3m2jbBOiC9pniA8nOZFKQOJ8wuA3cE6HtKn3vT6BAD55PpGZBK+CdU1iymJYxPDgmhhViEMoCQBJYLlxavHdo2KsFOws1QzCktg== X-Google-Smtp-Source: AGHT+IGh0GlTuU3O5U/utLY3XwRuJ0ZPmlp8oC3f4y5tqM5Aj3Z3oiaDc9pn34FGXyUyR6FHFskZ X-Received: by 2002:a17:902:ea91:b0:1db:9a69:293d with SMTP id x17-20020a170902ea9100b001db9a69293dmr7215505plb.24.1708252241892; Sun, 18 Feb 2024 02:30:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708252241; cv=pass; d=google.com; s=arc-20160816; b=whBtEGhkgBxuOZVH/uQfvYrlvmKIYIPA6UUxzliwYaGwNXK6VDWVCF1S+pwsyzxx7z GWGXNPaKMcFbZe3PF0/BP7ANpzfqBWxPNRa0WyqxT2SeTBa1iO3ODrp1Gs7b9ufk+lPv O/Oj5lJljUQtNB7Xytv5kyil7FNCEgZYCAHYr73RWzHWEX6MuORQJPmssMPHXO6TIjnw dybfgB6dBBW7t5V8RRpjMahW1yNQV3uMBMQuu9J2s4Eirx2hUjUCaXEJTr5l0cE4o6u4 SYK0QiYh/uSskDCxL+Wx1TS6t8vNTEdgt53q9kgLLgeXTRLPZXhF3JM2iGITcsVcJQ08 LrXg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:cc:to:from:date:references:in-reply-to:message-id :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:feedback-id:dkim-signature:dkim-signature; bh=wvWbnsQkj4q09CebU8XF1EAFsfblqr/+huPfno1vUNs=; fh=80azBMgCUC7VekDp8F05f4V+aUuWUsfZYCEvoWxPPrU=; b=GTo4YIBK1xLnGoSVdwi89CBK5DcT0XpEx0qyDFbqAkeW/YOAvznyzry9L6S8Qo+YnW Hj5a9hGZuZcLVwRW3O5W3z/avwLvMYW1/JCezSfNfVPi6U/6GVL62Iy7Yy+abnX7Zazp 1soaIfcqB9pwvNq3q5BuBkQ3Zwu8freWfIYoBPSFdUFg5+IaFBBqvy7umTe9eWwneag6 g5DaVGP2A1jwztjBR87DmzHOyiQd+hopPYcLXyns+xIGL26PEOY2EoEsw1e6cfiC5qmP meKQZIm3iKe08WWITpTYc5yIK49myDMEBR75WGN73bkMVGWQY1pqsA9PGGcXFbt7lmfI dQ5w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm3 header.b="Xxj/ymOb"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=BjB60kZ7; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-70338-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70338-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id mc3-20020a1709032b0300b001d950cac4e0si2666987plb.557.2024.02.18.02.30.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 02:30:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70338-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm3 header.b="Xxj/ymOb"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=BjB60kZ7; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-70338-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70338-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id C6FE2B22323 for ; Sun, 18 Feb 2024 10:30:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 73B07374F2; Sun, 18 Feb 2024 10:29:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="Xxj/ymOb"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="BjB60kZ7" Received: from wfout1-smtp.messagingengine.com (wfout1-smtp.messagingengine.com [64.147.123.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3FF70374C2; Sun, 18 Feb 2024 10:29:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.144 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708252198; cv=none; b=N/soipETMdTEe8ifHvcjqS1IEgTn7SIGWBvs8axvw2xMbuiYDDeMUv9cRCBaJosbJ3GC1bc12Crgk5nJSh9KdIfNh40xkYnIbMzF25brLGSLvdfkYKXqYLTBg5zrtvdvH7g48mcXdQ/sy/UZv4oQp9NLReN1Snkwkytw05Lz/hg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708252198; c=relaxed/simple; bh=ufu21DiWxZYY2PtkEJELU0sA98ETiZvyf8lhN/8xhUI=; h=MIME-Version:Message-Id:In-Reply-To:References:Date:From:To:Cc: Subject:Content-Type; b=CaJHVrqvWQyOUgxjSe5USOCJks4LYZfogmNlZc8BP+oX0oMpcCLj7D6GeNNvkzhCrL8g/9clZ1pX79CEJdHczrJFzioL+y8W0jo5y6Ib7BoWdoTT9e61R/e+DQigJlyiDGvkPrIZpOESutJhG1Z+Ghzr9ufaetMwbvMqjF5TrHs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=Xxj/ymOb; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=BjB60kZ7; arc=none smtp.client-ip=64.147.123.144 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfout.west.internal (Postfix) with ESMTP id 4903A1C00091; Sun, 18 Feb 2024 05:29:54 -0500 (EST) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Sun, 18 Feb 2024 05:29:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1708252193; x=1708338593; bh=wvWbnsQkj4 q09CebU8XF1EAFsfblqr/+huPfno1vUNs=; b=Xxj/ymOb6AtEOsNK1eV7Ou8FAH O8F5SmLQ0fEZrKGCW3U2dc24m+SkCyu7IG94E2M+1mmZMo/rBi1MzLass+VVfDnr CZmDe1sp0UY7oFBi+OhPKbkC12hGlSKKDlgmBcPYo9lMeRHnhR30tRCrA4SWCXIu n2yZ9ibphH9kViUUtUFh7oOa7euVlO45Ej5pHfNPEZlPujeOp10994kuh1I6tCc8 a7Q/BrsP+oSN0+FAWrinWGGBF7eWHIMY6tt6RO5vHL07q5MDUz6OD7ktVUbsm19h Or5gm7ry6NvbyZbjc3+MmyKSpmHMM8Cji6HfC9giMHiO9B7EC0J+TuJ7zlFw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1708252193; x=1708338593; bh=wvWbnsQkj4q09CebU8XF1EAFsfbl qr/+huPfno1vUNs=; b=BjB60kZ7OHneALkK3bPs3Ya3upMX9P/TuKg7p5H/0d4a CJjppOxcN6YjW3Hwl7BTLhMR5AYzKeQoYSn8WJF2OOG6ZJJmQzxTq9gfLIs9p5M+ P2D+H8VwfFSx+dZT1ryLhBou9un8hcG7p0D798xWn35R8RmSn9oB8LKlmZWDKFSy fVWfBRSzzl2HfaqXvBFU1OcJwfw6XNG0Ao3f7kkDhsmGNSZT9To7SYIPfGctJcyY fbC4PXgE8MHNBNH+OcNUb39nSdRQI5LBP1jb+WgAEttClqxeT7Sc1y8hpYC2DA3i zBokALVHOYMQy+Xw0lQA6IrGTwueMzMreV9QDShhug== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdeigddukecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdetrhhn ugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrghtth gvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedtkeet ffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrrh hnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id AF6AAB6008D; Sun, 18 Feb 2024 05:29:52 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-144-ge5821d614e-fm-20240125.002-ge5821d61 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <3a829098-612b-4e5a-bcec-3727acee7ff8@app.fastmail.com> In-Reply-To: References: <20240216202352.2492798-1-arnd@kernel.org> Date: Sun, 18 Feb 2024 11:29:32 +0100 From: "Arnd Bergmann" To: "Andi Kleen" , "Arnd Bergmann" Cc: "Alexander Viro" , "Christian Brauner" , "Jan Kara" , "Nathan Chancellor" , "Nick Desaulniers" , "Bill Wendling" , "Justin Stitt" , "Kees Cook" , "Andrew Morton" , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH] fs/select: rework stack allocation hack for clang Content-Type: text/plain On Sun, Feb 18, 2024, at 11:19, Andi Kleen wrote: > I suspect given the larger default stack now we could maybe just increase the > warning limit too, but that should be fine. I don't think we have increased the default stack size in decades, it's still 8KB on almost all 32-bit architectures (sh, hexagon and m68k still allow 4KB stacks, but that's probably broken). I would actually like to (optionally) reduce the stack size for 64-bit machines from 16KB to 12KB now that it's always vmapped. > Reviewed-by: Andi Kleen Thanks, Arnd