Re: [PATCH] KVM: x86/mmu: Don't zero-allocate page table used for splitting a hugepage
From: Huang, Kai
Date: Wed Feb 18 2026 - 19:06:24 EST
On Wed, 2026-02-18 at 13:08 -0800, Sean Christopherson wrote:
> When splitting hugepages in the TDP MMU, don't zero the new page table on
> allocation since tdp_mmu_split_huge_page() is guaranteed to write every
> entry and thus every byte.
>
> Unless someone peeks at the memory between allocating the page table and
> writing the child SPTEs, no functional change intended.
>
> Cc: Rick Edgecombe <rick.p.edgecombe@xxxxxxxxx>
> Cc: Kai Huang <kai.huang@xxxxxxxxx>
> Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
>
Reviewed-by: Kai Huang <kai.huang@xxxxxxxxx>