Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp420019rdb; Mon, 15 Jan 2024 01:18:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IEjI6A7rd+vATOs2efBBFTQ5Z1XzbCLuqmCSCry9nC+/+bYgN3io7X0NnWh0UGx8BdHfyfu X-Received: by 2002:a17:902:d585:b0:1d5:6a32:650 with SMTP id k5-20020a170902d58500b001d56a320650mr6192481plh.21.1705310300348; Mon, 15 Jan 2024 01:18:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705310300; cv=none; d=google.com; s=arc-20160816; b=dogw4ma2a/ytu1RtpbC4ruZRcdIBOBVVCMBDm3WB0AmH5C5npvRBPZ1naqFYMq+57l LT+Sq8cUTxeC9z9dBr1/eUUfH9dYWYu4LPzACzrlpxUSZIBWNzH5YbPJ4AhNT/q6OC6a hACvEXJVrM5/aVlW3jLohJSORG0ttfGLm53c2xexfGOqTD9PZ6VIgxFTpU3FEdVdanmI 5PjvTxvtYUgQsIpOypQbRpg44rs0v9ywzsy6dDoYJu4JmUWm3OSCBJ8x0mpbhM3P3WAN GaqPLZHIGW7dCp6zAiO7ne4MkwLjzjORNnfXl1E68fk/qYhH/QOp6UArm+mh1vXAH+mS 8ZWA== ARC-Message-Signature: i=1; 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=dSQJgSB4vk/Iw5stEnmi+wNBAI6NbJo5Z37X6TeKKEQ=; fh=y66LLivRJZpt4E4fp8jBuNNpBYm67P6aNZEiy3sBaUc=; b=boVYx6/txXYucgPEdlxZCmbvAFZ33Tx+I6CNvR6mn/3nKm0ue0NMR2kWp9EO/OVSki Ut7wZ3K2/Z31zdukuLruyuHpzlmd828sIvy7D6pHKS+ZVIUb5fYNN90pJOYhV0J1i7G8 BLFGu2L9Ic5geoc1afZrp9vjvhSfpLU6cDOFKIX39239eATDynfntJNCO3bfGbQCjQiP qGbKZPnBoT0y7wIxnis7TbTxh4dxzXML2X3LfHbfgGIEMz2MTwWI/YD8jqJYpUCVYNLu 4ussPhS+YKSCUaMN5wpd7wNui1er1xrIHEVwFZM6Y5GiKG9gwdfDEo8QQV6RuIO4z/nS DVAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="BkHCl/rH"; spf=pass (google.com: domain of linux-crypto+bounces-1426-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1426-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id y13-20020a170902b48d00b001d43cfe9773si8302796plr.651.2024.01.15.01.18.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 01:18:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-1426-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="BkHCl/rH"; spf=pass (google.com: domain of linux-crypto+bounces-1426-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1426-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 079CC281EFF for ; Mon, 15 Jan 2024 09:18:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9C681C2C4; Mon, 15 Jan 2024 09:17:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BkHCl/rH" X-Original-To: linux-crypto@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 55BA12BAEB; Mon, 15 Jan 2024 09:17:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85FA1C433C7; Mon, 15 Jan 2024 09:16:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705310227; bh=KUG06kyFNhu+8XSLZ1CtZ2XP6hSlyl36SFxCGWaZx1E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BkHCl/rH63QzKibWmLOv4INzCWKRM+7tTMVIZL+26IaeiqrhOsT/M5wKut2HOTmK+ D1U3cwXG8xEeRoTZVpwGVTY3dkBb9Y3WUdjHdWoMpCA8BRJ61XuB32hAD+7/SIcmBW s8JemP6NpC7VzX6M2A8+ydOB4WCzNOR6y/UbO4RTpgtSCMe4kGlaKaAB3G2cul9vyj NdCgq/hNu6lWWle9bUz0FwVpnp4qvnn4614o4m64k5Pe+qiw2Qitr8JbGuDD949P+J nvMtMnR0rmRjnjDEktqE39ymxhsrNd4JFbESpfmw3ii+gMEta3Fx4uAJWD7i4Rp7FM Bp51bk3jpxvmA== Date: Mon, 15 Jan 2024 11:16:19 +0200 From: Mike Rapoport To: Borislav Petkov Cc: Vlastimil Babka , Dave Hansen , Michael Roth , x86@kernel.org, kvm@vger.kernel.org, linux-coco@lists.linux.dev, linux-mm@kvack.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com, jroedel@suse.de, thomas.lendacky@amd.com, hpa@zytor.com, ardb@kernel.org, pbonzini@redhat.com, seanjc@google.com, vkuznets@redhat.com, jmattson@google.com, luto@kernel.org, dave.hansen@linux.intel.com, slp@redhat.com, pgonda@google.com, peterz@infradead.org, srinivas.pandruvada@linux.intel.com, rientjes@google.com, tobin@ibm.com, kirill@shutemov.name, ak@linux.intel.com, tony.luck@intel.com, sathyanarayanan.kuppuswamy@linux.intel.com, alpergun@google.com, jarkko@kernel.org, ashish.kalra@amd.com, nikunj.dadhania@amd.com, pankaj.gupta@amd.com, liam.merwick@oracle.com, zhi.a.wang@intel.com, Brijesh Singh Subject: Re: [PATCH v1 11/26] x86/sev: Invalidate pages from the direct map when adding them to the RMP table Message-ID: References: <20231230161954.569267-1-michael.roth@amd.com> <20231230161954.569267-12-michael.roth@amd.com> <20240112200751.GHZaGcF0-OZVJiIB7y@fat_crate.local> <20240115090639.GAZaT1nx4C4xJuF8IA@fat_crate.local> Precedence: bulk X-Mailing-List: linux-crypto@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: <20240115090639.GAZaT1nx4C4xJuF8IA@fat_crate.local> On Mon, Jan 15, 2024 at 10:06:39AM +0100, Borislav Petkov wrote: > On Fri, Jan 12, 2024 at 09:27:45PM +0100, Vlastimil Babka wrote: > > Yeah and last LSF/MM we concluded that it's not as a big disadvantage as we > > previously thought https://lwn.net/Articles/931406/ > > How nice, thanks for that! > > Do you have some refs to Mike's tests so that we could run them here too > with SNP guests to see how big - if any - the fragmentation has. I ran several tests from mmtests suite. The tests results are here: https://rppt.io/gfp-unmapped-bench/ > Thx. > > -- > Regards/Gruss, > Boris. > > https://people.kernel.org/tglx/notes-about-netiquette > -- Sincerely yours, Mike.