Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp415666rdb; Mon, 15 Jan 2024 01:07:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IFkKGu+STDox4J8ilBGORtP+QArJ4c+Anci7sN/OGRmJep+dFZjUcu+IRUDKqr2LOSN95Nz X-Received: by 2002:a05:620a:6019:b0:783:4c3c:9260 with SMTP id dw25-20020a05620a601900b007834c3c9260mr4251688qkb.6.1705309664851; Mon, 15 Jan 2024 01:07:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705309664; cv=none; d=google.com; s=arc-20160816; b=b3mcdUqOLGa9rEDS8BfUkFXP+KOIWZi8jPqtBfHtxej454aQuc/jkpz4FFmbk2g3VM OV1luj7HutvEXKreUk3SUaVVmYNiWTrYDfCOSgO+qQqNoNjJwwfkljkbfzqLMvlAKGk3 Q3PyGlqz3tMzGAPSHqPt5ySh7qYJpmsuKb/CybgrAuRMNOh7Pu+c9vtqKfvpnzOXZY21 cFf4IgJH9/vhHQ4RTxXyn6KgkUJo82fTQTg+SfUKAiIELqGcudRPEGU20I8WgAr/ajGV BSNnzpLvGNVl8ZR8ojC16FFgTd72GztJJjDqAg7qBorEcRSzpwgM8f27zX2PYjoXqqva nj3A== 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=fdg/Qndr0DWBNTkgQOVl8J+shnlTJdeLN2SZCkKmRQY=; fh=EkfQBgQ7XyCHixmnrqEqGJ3TkAu2+Gep6CqE3udk2S8=; b=Rh/PJ6O5Z6o25bC2UTsaSQABnwbgcQ+H+tHvqfem4sXmKBU6aAnCkPpzyzPiiIghnI JR0iaZjxV8Gcd/n+B/vyn9olPAcviVeTqGWb7+DW4AlPKRfcgd02NjR42EGWBKYJ8XF7 eahRy44pGE0qS6felQaG18FDJrIorvms0nAhevRVlAvTYcrhKh9F4prp1WqsdPx7J4Db vEEIpUToPpltVt1eSOOrKgER/wORg7auVwomqQmIKbjwolNZpGLYXvvFZGCaadABQBcl ePS6LNK37mU5YxQN6bAa2a5eS5g825QnjQGmvhK5/KuBEGWq5yiOELpDOkUMLVvRgx0K mMNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b="ZkNaz/iK"; spf=pass (google.com: domain of linux-crypto+bounces-1423-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1423-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id o26-20020a05620a229a00b007833cd0673dsi7338890qkh.630.2024.01.15.01.07.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 01:07:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-1423-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=@alien8.de header.s=alien8 header.b="ZkNaz/iK"; spf=pass (google.com: domain of linux-crypto+bounces-1423-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1423-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 993281C21475 for ; Mon, 15 Jan 2024 09:07:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D97CDD289; Mon, 15 Jan 2024 09:07:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="ZkNaz/iK" X-Original-To: linux-crypto@vger.kernel.org Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (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 44A7BC2D2; Mon, 15 Jan 2024 09:07:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 9238240E01A9; Mon, 15 Jan 2024 09:07:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 4xtKFCvfzKuy; Mon, 15 Jan 2024 09:07:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1705309639; bh=fdg/Qndr0DWBNTkgQOVl8J+shnlTJdeLN2SZCkKmRQY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZkNaz/iKc3LzjTMyl6FnAiSlV+JZM1UpTOX9qLr8pnYEKoXUT9jNAtvvmQ8pU0p6m +fYgLGKa+NNt52aDxT3FpVtS7PdZmIN2D80G8SNHTsur2lzAr9RxEVRbPf6TVbVJqg 0OwMIGnWbY/YpFkgkdd2AgwDqcuc1ok33QTw6PNjtU2wtGxK0WfVqX9ipSXjt25gXe +dJPbtsuhvtfPISu0HiFaBDwQPXcW1bgGFX851UQQ/tfaV05wYYFOrnKy1Bwvl6WpL js+6kZTo4WwJfudgNjOUwobT/R51fBqnsVeQfwp9rByapzDXXmQCtuTLkfmLgrQnzo mCFKfrxrLmq2Z9s4w13d+ebgoK3PriI6UcnJAWGPrdbnoWBPB9ojjR7LmmyoMqSQM7 woKce8ot8gcs1H3Br3HLrT7GD+QpKD3RqWHYhyYjpxmZMg3TtHA+lHD+cdRiWxop/r NJy9jak8MYl+VK11r8GNDN3IJe7Xe/nyo4sH0lFeP5FFWIev2qm5caSfykhOcspSbi LGwGMPgfy9HbTFJABSlxrxEqtUzDembSgLL4wMMy9w4doK5sYupWifRHZ70nABRpgq 5nF4zTphmDGv45tYTfXv2gYEibHZQZ8i+vIJ6/ONEFrnq995zzrgNZjmhBPmF9K2IF j8KFtKvdHtbTsDvqHcn/GVZo= Received: from zn.tnic (pd9530f8c.dip0.t-ipconnect.de [217.83.15.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id ED04740E016C; Mon, 15 Jan 2024 09:06:39 +0000 (UTC) Date: Mon, 15 Jan 2024 10:06:39 +0100 From: Borislav Petkov To: Vlastimil Babka Cc: 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: <20240115090639.GAZaT1nx4C4xJuF8IA@fat_crate.local> References: <20231230161954.569267-1-michael.roth@amd.com> <20231230161954.569267-12-michael.roth@amd.com> <20240112200751.GHZaGcF0-OZVJiIB7y@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=utf-8 Content-Disposition: inline In-Reply-To: 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. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette