Re: [PATCH] KVM: x86/mmu: Don't zero-allocate page table used for splitting a hugepage

From: Edgecombe, Rick P

Date: Wed Feb 18 2026 - 17:30:55 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
>

Didn't see any way for this to happen.

> , 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: Rick Edgecombe <rick.p.edgecombe@xxxxxxxxx>