From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.zytor.com (terminus.zytor.com [198.137.202.136]) (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 45F933C583B for ; Mon, 29 Jun 2026 16:37:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.136 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782751071; cv=none; b=lNBTwJAERHMFMh+rIouWwVGNVGzmJnvCgG5gYPGz0VPvGdKjM7cWNasPNmlsyd+lumQTjqitEdPh8mHAFg6a8RPrzMa4PSBt+5UoUr7MJZjbv9zIpNUPU6l6BodcDzeIZ4c5XKjLkdWQ14uCvclx4HUc9F7JrV1MnzPvFczJY80= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782751071; c=relaxed/simple; bh=yGVneQ2+lx9GI6V3ZwVaTfBDvbs12QarPLoIimTbXWw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Lhl2lTHVeRwTYrk+tqbEZDae/GeCqDNmG8v5wVLDqLDXvHi+MdJSXoGPdVNnmh9DJk70Ec0X4JVYMjZ4an5rgaxc2okuLwffV66XdMdSAcFQAxx0l+XnEndtMNHSHFQ9fo74PwkvldKym2R+pSzdhcHt2MPv6VvwNbIG/LTb/iA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zytor.com; spf=pass smtp.mailfrom=zytor.com; dkim=fail (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b=f3ilMgWj reason="signature verification failed"; arc=none smtp.client-ip=198.137.202.136 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zytor.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zytor.com Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b="f3ilMgWj" Received: from [IPV6:2601:646:8081:7da1:68c9:ba90:b2f5:8138] ([IPv6:2601:646:8081:7da1:68c9:ba90:b2f5:8138]) (authenticated bits=0) by mail.zytor.com (8.18.1/8.17.1) with ESMTPSA id 65TGLFL5618076 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Mon, 29 Jun 2026 09:21:15 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com 65TGLFL5618076 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2026062701; t=1782750077; bh=hydOrMOVfJpPy1RK9SdrTaqp0nT1DvgDdBkLQq657fY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=f3ilMgWjXzS9yJM/j5yvFtl534nWjsXQ1K+RYDbfTNVHTUW2tT6ThzU5x+t5hyj49 tkUhwl5iKD1jacrqoLdQSvVrhMqsr3bs6C5ZYLGAJBcXkNsWMOEEf8BQbrgz53GXz3 zJxXdUXaXfuY42K26nze+Hk1qkQRdm+kmEl1bxxRF99jGzZg1kUUCoX5qSH3PvBy5o fT/6QhfAsFDBG/q92VW15KqG9LhWe55+I+Vfc7LCHhuMpiFUQc/oFaxEX7HxmYul4z jdAOIKR/2yNwuqhonMQZBx70o4wNCQfdvXJNtIajaTTwWokp+ver5Xu2wrVSKeINq9 WjsGvInCjmeUg== Message-ID: <37a630ef-1574-4415-b42c-1d23993c6084@zytor.com> Date: Mon, 29 Jun 2026 09:21:10 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 00/13] Dynamic Kernel Stacks To: "Vlastimil Babka (SUSE)" , Dave Hansen , Thomas Gleixner , "Zach O'Keefe" Cc: David Stevens , Pasha Tatashin , Linus Walleij , Will Deacon , Quentin Perret , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, Andy Lutomirski , Xin Li , Peter Zijlstra , Andrew Morton , David Hildenbrand , Lorenzo Stoakes , "Liam R. Howlett" , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Uladzislau Rezki , Kees Cook , linux-kernel@vger.kernel.org, linux-mm@kvack.org References: <20260424191456.2679717-1-stevensd@google.com> <6369e5ce-74e3-4c68-8053-d7d7d21b6955@zytor.com> <87pl1md7h0.ffs@fw13> <87qzm2b39k.ffs@fw13> <87mrwon5uw.ffs@fw13> <87cxxgly12.ffs@fw13> <5604a47b-9457-4162-bd23-720e29cf1983@intel.com> Content-Language: en-US, sv-SE From: "H. Peter Anvin" In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2026-06-29 09:18, Vlastimil Babka (SUSE) wrote: > > But it wouldn't tell you what was the large stack? Or we could try to print > it inaccurately, and hope the non-overwritten deep part gives us enough insight? > >> There are, of course, more games that could be played with stack depth >> checks on normal interrupts or NMIs. But those would be less deterministic.> Less deterministic, but probably more informative, since it would be possible to actually get a stack trace. -hpa