mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sean Christopherson <seanjc@google.com>
To: Sean Christopherson <seanjc@google.com>,
	Paolo Bonzini <pbonzini@redhat.com>
Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
	David Matlack <dmatlack@google.com>
Subject: [PATCH v3 0/3] KVM: x86/mmu: Cleanups from eager page splitting
Date: Tue, 12 Jul 2022 02:07:21 +0000	[thread overview]
Message-ID: <20220712020724.1262121-1-seanjc@google.com> (raw)

Eager page splitting cleanups for a few minor things that were noted in
code review but didn't make it into the committed code.

Patch 3 is kinda silly.  If it weren't for the typo, I wouldn't have
bothered (the existing comment is good enough, I couldn't stop tinkering).

v3:
 - Collect more reviews. [David]
 - https://lore.kernel.org/all/20220624213039.2872507-1-seanjc@google.com

v2:
 - Add helper to compute SPTE's index into its parent. [David].
 - Collect reviews [David].
 - Tweak the comment in the last patch after more analysis.

v1:
 - https://lore.kernel.org/all/20220624171808.2845941-1-seanjc@google.com

Sean Christopherson (3):
  KVM: x86/mmu: Add optimized helper to retrieve an SPTE's index
  KVM: x86/mmu: Expand quadrant comment for PG_LEVEL_4K shadow pages
  KVM: x86/mmu: Fix typo and tweak comment for split_desc_cache capacity

 arch/x86/kvm/mmu/mmu.c         | 52 +++++++++++++++++++---------------
 arch/x86/kvm/mmu/paging_tmpl.h |  4 +--
 arch/x86/kvm/mmu/spte.h        |  6 ++++
 3 files changed, 37 insertions(+), 25 deletions(-)


base-commit: b9b71f43683ae9d76b0989249607bbe8c9eb6c5c
-- 
2.37.0.144.g8ac04bfd2-goog


             reply	other threads:[~2022-07-12  2:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-12  2:07 Sean Christopherson [this message]
2022-07-12  2:07 ` [PATCH v3 1/3] KVM: x86/mmu: Add optimized helper to retrieve an SPTE's index Sean Christopherson
2022-07-12  2:07 ` [PATCH v3 2/3] KVM: x86/mmu: Expand quadrant comment for PG_LEVEL_4K shadow pages Sean Christopherson
2022-07-12  2:07 ` [PATCH v3 3/3] KVM: x86/mmu: Fix typo and tweak comment for split_desc_cache capacity Sean Christopherson
2022-07-14 15:32 ` [PATCH v3 0/3] KVM: x86/mmu: Cleanups from eager page splitting Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220712020724.1262121-1-seanjc@google.com \
    --to=seanjc@google.com \
    --cc=dmatlack@google.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®