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@xxxxxxxxxx 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@xxxxxxxxxx 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