Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp900203rdb; Sun, 18 Feb 2024 18:28:45 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXMvdcS9NnRB8l4rsZkRbRbGx0a7uqQtgj8QAUS7sBGculr5hJxdrGNf29cQuRNNUtw1M07hnSyQ5q0DGZNqQ4SRI7DHhrCt/x6X5BRyw== X-Google-Smtp-Source: AGHT+IHltDDwHP6eyv34VbtibnIHFkF3mdX0dndLL1vYBQXsEkw6JcDcpzTzIN3kE62EBV6tcnT4 X-Received: by 2002:ae9:e716:0:b0:785:c2f1:aeac with SMTP id m22-20020ae9e716000000b00785c2f1aeacmr13076887qka.30.1708309725257; Sun, 18 Feb 2024 18:28:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708309725; cv=pass; d=google.com; s=arc-20160816; b=p5IF4MmdGdxxolf8FS5Q6oLVNrSNtitdeXoB/WlLM0nyvAVI6Qt+DIGQGowGsGNsUZ K4towej0sSbH3P9gRRxRlSOcputaLe2esQz9ObbIVXr5NQsWyOJe7sABjKloD+7wDYPc 3yMx7PcQpac1FnY+vuGppEucBvtKefgawZJ8aSZ7Jpgv97YNW86Pll0o71km+uz9S9qy O+6NMkdk8hNBqcYZ5MHr8ADAGg7aEuLq+1KvWMn2mKCufPAY4tSt9zR2yFjdePU5nQDF ByMIBRbInPP4j4HQtVLSLsaFOVUh345yR4/1jhBdNe2x5vUZFpLva3SvpHH+MaHCpCbZ gsfg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=6pU8Zjk0kXhoQl8I+gq8S0BZIBVz1DJ1UE6zo5ujD00=; fh=5ZsvKiv12eQmn3KS2DQO/5tgkqIUw8AGz90pmrADb6I=; b=Gft06RX2RoEGITr8jwT0bkIQjM+1UZc7CADomNVHpzDYk/QXUwqRplrK7tsmmYRfOh qZSSPcfUYru2VLHZT8y7mgu3+jm/Iy2/S7LqmfxvwwQBxOsyP9hzlvEjx4IqhpIeyupj iCgeysizaOVAQkFyYskPBk5TYI4FKPLfut0kggI6rKnwsk4MzcqwxXfZO1aZbK5P1ht6 FXS9PWuJLO1hERJBbwKLKjRTrr9FyJQB/FnoPW49/QaomY0PzlnyL1c13gOBf+GcW6Sk KAodA1345G0gFcfBVOlzmYL1lIrPy9GikYxoptS+ebwcUwhR26wuo73P+BcLu5N1clKj gpmA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LBEgKY4v; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-70649-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70649-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id p14-20020a05620a22ee00b00787273e4b87si5049802qki.711.2024.02.18.18.28.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 18:28:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70649-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LBEgKY4v; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-70649-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70649-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E360A1C20A93 for ; Mon, 19 Feb 2024 02:28:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 909AD23CB; Mon, 19 Feb 2024 02:28:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="LBEgKY4v" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) (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 4EA291C3E; Mon, 19 Feb 2024 02:28:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708309713; cv=none; b=GZVuV7GncRwWdLhRwLv8v+OTkwSTMGTXdvwuNV4YiZXcDofoKrClbp2LX2OnaUjd/ocAoHaOBd81CUnJHPQUh0VrkERoM+uKHECvO1fLHbZIvwNZ+s+hW6QNX1VLTxs7Ic6bvRRr29jeEha7UNb/jX/Xcl10Spp/ChQarMRz/58= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708309713; c=relaxed/simple; bh=T3iYYfOGyXURvLXVfrDd8rFn2rXciuaCL5lbx26GKe8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=EcyFvmREgNdRNdsM7bc35qc5rbyP2ttMfJ18cmj43KoossHJ4NyHf8pHsJ4cVMUxByjnzHq6XlEmapUe5ifRPYeKX/ZJQbpiRHSM9zldcNYDrd2t70Q8GPYdzxaBQV+3DztJsvzvPgqWXqJdVdksLGfShQPIynASi2DA+dIEiaQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=LBEgKY4v; arc=none smtp.client-ip=192.198.163.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1708309712; x=1739845712; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=T3iYYfOGyXURvLXVfrDd8rFn2rXciuaCL5lbx26GKe8=; b=LBEgKY4vjff/7ci3w3TnnAVFgJuvh7cY4nfZ0hDcJQzOZ3O4TsJX/NTx AdxD1craZZyyvQ7HezdDui6wiiW8NiMD4dj4E6rL71QHbvXJ9WfutPweN 5QSRsbPUgYa7lnBwIJym/Vdy+kiR9yJlS4BwJT9kN0Nl+fXN8yqzR7j5p esYDdEiJ1BNzImHjEaok85pZj4p9njMqWm5OXr16MC8jFW7+yHcvBWIUb P+BSII75HSaWrhzfDVxQgMxqY9zOBU4DI6c7k/Prp3U48gDLQF6+zXOn/ ll+jd+MfuT1qtjaaKGUUgeNJ0mDAEuJXH0Pk6ymtQbi63r+7Qyw3FfKzv w==; X-IronPort-AV: E=McAfee;i="6600,9927,10988"; a="13001134" X-IronPort-AV: E=Sophos;i="6.06,170,1705392000"; d="scan'208";a="13001134" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Feb 2024 18:28:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,170,1705392000"; d="scan'208";a="4314701" Received: from tassilo.jf.intel.com (HELO tassilo) ([10.54.38.190]) by fmviesa009-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Feb 2024 18:28:31 -0800 Date: Sun, 18 Feb 2024 18:28:29 -0800 From: Andi Kleen To: Arnd Bergmann Cc: Arnd Bergmann , 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 Message-ID: References: <20240216202352.2492798-1-arnd@kernel.org> <3a829098-612b-4e5a-bcec-3727acee7ff8@app.fastmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3a829098-612b-4e5a-bcec-3727acee7ff8@app.fastmail.com> On Sun, Feb 18, 2024 at 11:29:32AM +0100, Arnd Bergmann wrote: > 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. now == after 4/8K. The 1024 warning limit dates back to the 4/8K times. It could be certainly reevaluated for this decade's setup. -Andi