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 1216FCCA47C for ; Thu, 23 Jun 2022 23:50:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230496AbiFWXuz (ORCPT ); Thu, 23 Jun 2022 19:50:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230019AbiFWXux (ORCPT ); Thu, 23 Jun 2022 19:50:53 -0400 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89065609C2 for ; Thu, 23 Jun 2022 16:50:52 -0700 (PDT) Received: by mail-pg1-x530.google.com with SMTP id z14so911709pgh.0 for ; Thu, 23 Jun 2022 16:50:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=zbb8jnyf9qPdBsIbRpO/u6Nva8QOxFa0c+HbQiJfy+k=; b=IlG62ZJ+WehrUE0/WvoRAjWTwprtTh9sQ65qKKaJJDTzehtixHvUSG/LPmWh2YzpYy oMZ4vl1RfjMmr6Eq0pa1hPVoBNsux4hFJQxZuwMwTYY0m76RkNFzBg88Ff/LjT+i+SNn exnmCJwxY/Xd6voz5p06GCvpDOyehFDT/2EWnfxu0ilHQXKwQvB0mc1fW4wfiHHu5GYd nMGHgybQzJUY8rbRkmKPCJsxlWgO1dqQl0b5Bz9vl9tnMa3/ZYHfjECinYtydaGFEOz+ j9LnXH9oA8MFoIwboFlDlvhH+Hyd/Bk0lggkqo/gv78dOEbORhDCnmrq6N0aR0my7hID psGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=zbb8jnyf9qPdBsIbRpO/u6Nva8QOxFa0c+HbQiJfy+k=; b=KHigRP0wAvyocmVdJ9fYtNRm9PTsd8KzHassxdOr9pYmAifz56UUANk8HJc3ytd/Rp eFzuvdu3W7AZ15Tz7WdZ8SfPwv/WGuNt74kegN8XP8rs4FtzoD/lm9cnq64Cv2hf3cZt rNXKtPXoXVD+6YBcr4w/D9yJ1+TUJENr4Zy+x0YHly66pNsuGUJQOWgyv2eL037p3eZ2 zY0D7D7tol51bKShsiODnjMNjP+ZppDK/UdzZrw/VDUwm2JZt2T3Bq01EoC+u5Z4HS9a Lwjdo+EEDGZGA9sQ6GZHrJn4q5nFgSFmFCCRnVG1I6VZDmEY6vXSBF4hJZ1G86GPQbph Lu8A== X-Gm-Message-State: AJIora/5O/4nNCnI7jifJ//0EeytRdGVyjSLnArLAN0vbGXp7P6VTSGr u00Ybl2Hc4lloYQNY4hlPapF65/tvrA9og== X-Google-Smtp-Source: AGRyM1sVe+SHQIuJJYmlyoK1SLTo1HgUkXEAbRufb8AZnkgcLimW/kT6zmNvpPgOUmD9v4ZPCT3mBg== X-Received: by 2002:a05:6a00:1a4a:b0:518:bbd5:3c1d with SMTP id h10-20020a056a001a4a00b00518bbd53c1dmr43028461pfv.64.1656028251848; Thu, 23 Jun 2022 16:50:51 -0700 (PDT) Received: from google.com (223.103.125.34.bc.googleusercontent.com. [34.125.103.223]) by smtp.gmail.com with ESMTPSA id bd10-20020a656e0a000000b0040d3613d9dcsm194912pgb.34.2022.06.23.16.50.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jun 2022 16:50:50 -0700 (PDT) Date: Thu, 23 Jun 2022 23:50:45 +0000 From: David Matlack To: Paolo Bonzini Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, maz@kernel.org, anup@brainfault.org, seanjc@google.com, bgardon@google.com, peterx@redhat.com, maciej.szmigiero@oracle.com, kvmarm@lists.cs.columbia.edu, linux-mips@vger.kernel.org, kvm-riscv@lists.infradead.org, pfeiner@google.com, jiangshanlai@gmail.com Subject: Re: [PATCH v7 00/23] KVM: Extend Eager Page Splitting to the shadow MMU Message-ID: References: <20220622192710.2547152-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220622192710.2547152-1-pbonzini@redhat.com> Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Wed, Jun 22, 2022 at 03:26:47PM -0400, Paolo Bonzini wrote: > For the description of the "why" of this patch, I'll just direct you to > David's excellent cover letter from v6, which can be found at > https://lore.kernel.org/r/20220516232138.1783324-1-dmatlack@google.com. > > This version mostly does the following: > > - apply the feedback from Sean and other reviewers, which is mostly > aesthetic > > - replace the refactoring of drop_large_spte()/__drop_large_spte() > with my own version. The insight there is that drop_large_spte() > is always followed by {,__}link_shadow_page(), so the call is > moved there > > - split the TLB flush optimization into a separate patch, mostly > to perform the previous refactoring independent of the optional > TLB flush > > - rename a few functions from *nested_mmu* to *shadow_mmu* > Thanks for the v7 Paolo!