From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D7F1DC4332F for ; Fri, 23 Dec 2022 19:31:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231354AbiLWTb5 (ORCPT ); Fri, 23 Dec 2022 14:31:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230195AbiLWTbz (ORCPT ); Fri, 23 Dec 2022 14:31:55 -0500 Received: from mail.zytor.com (unknown [IPv6:2607:7c80:54:3::138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 811A81F9E6; Fri, 23 Dec 2022 11:31:54 -0800 (PST) Received: from [127.0.0.1] ([73.223.250.219]) (authenticated bits=0) by mail.zytor.com (8.17.1/8.17.1) with ESMTPSA id 2BNJV0jN3004810 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Fri, 23 Dec 2022 11:31:03 -0800 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com 2BNJV0jN3004810 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2022120601; t=1671823865; bh=8U3L5z1AFR94Ur4HvgFf3agP7oLPg6/0b60n1Rc2c/4=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=hGys46pcf8iXwpubOAabv5YFxZB2dujq1N3fwxUDjpx1gwXM9NKRY2gfjaXKEENxR N2JMsyOYoDRuKID3Vf4f5wlNVfCnwa21fhkcu3QquU5uItaNJ8l6Z3Q6fSHNIovYqW WV14O2GaxSdGWCI3s0qp+jfqAUWoajIAMCvUQ06dk4MoizxQYMBfEsilHRYt3HktQo M964NM6veTBPKPkeQQEQXWfP/mt0M/lEub0JOwrzoMO2pjU+Z/Y/ejTeNdCZEyupLK 6Fryj+ZlS+WY1Gl3FR99z3xljDm+HX4f60/z63j5ityGw4d2VMr37ehsuykH/02MVg tTXyGnr+RKYcA== Date: Fri, 23 Dec 2022 11:30:58 -0800 From: "H. Peter Anvin" To: Peter Zijlstra CC: "Li, Xin3" , "andrew.cooper3@citrix.com" , "linux-kernel@vger.kernel.org" , "x86@kernel.org" , "kvm@vger.kernel.org" , "tglx@linutronix.de" , "mingo@redhat.com" , "bp@alien8.de" , "dave.hansen@linux.intel.com" , "Christopherson,, Sean" , "pbonzini@redhat.com" , "Shankar, Ravi V" Subject: Re: [RFC PATCH 22/32] x86/fred: FRED initialization code User-Agent: K-9 Mail for Android In-Reply-To: References: <20221220063658.19271-1-xin3.li@intel.com> <20221220063658.19271-23-xin3.li@intel.com> <16972e64-7d7b-ad8c-f8dc-6dcab69e629e@citrix.com> <0D72CCA1-A0B6-487B-A6B9-7341020D28A2@zytor.com> Message-ID: <77C92705-B15D-4680-8587-CAEB48BEDDA1@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On December 22, 2022 5:09:28 AM PST, Peter Zijlstra wrote: >On Tue, Dec 20, 2022 at 09:44:33PM -0800, H=2E Peter Anvin wrote: > >> Right, this is one major reason for putting #DB/NMI in a separate stack= level=2E > >But with the IST they each have their own stack, with FRED they'll share >this small stack=2E So make the stack larger if you think we need it=2E You still end up using= less total stack space with FRED=2E