]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: x86/mmu: Rename make_huge_page_split_spte() to make_small_spte()
authorDavid Matlack <dmatlack@google.com>
Fri, 23 Aug 2024 23:56:47 +0000 (16:56 -0700)
committerSean Christopherson <seanjc@google.com>
Tue, 5 Nov 2024 02:37:23 +0000 (18:37 -0800)
commit430e264b76538d371ff4e2d0d20801fa11b10198
treee86895f164ece449bcde303683d6d4b1a09cbbcd
parent13e2e4f62a4bb1288688e7218818f6f655600028
KVM: x86/mmu: Rename make_huge_page_split_spte() to make_small_spte()

Rename make_huge_page_split_spte() to make_small_spte(). This ensures
that the usage of "small_spte" and "huge_spte" are consistent between
make_huge_spte() and make_small_spte().

This should also reduce some confusion as make_huge_page_split_spte()
almost reads like it will create a huge SPTE, when in fact it is
creating a small SPTE to split the huge SPTE.

No functional change intended.

Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20240823235648.3236880-6-dmatlack@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/mmu/spte.c
arch/x86/kvm/mmu/spte.h
arch/x86/kvm/mmu/tdp_mmu.c