Re: [RFC PATCH v5 22/45] KVM: TDX: Get/put PAMT pages when (un)mapping private memory
From: Edgecombe, Rick P
Date: Fri Feb 06 2026 - 18:20:09 EST
On Fri, 2026-02-06 at 15:18 -0800, Sean Christopherson wrote:
> How about?
>
> (*topup_private_mapping_cache)
>
> Because it's not just "private memory" it's specifically the mapping. E.g. for
> the hugepage split case, the primary memory is already assigned and mapped into
> the guest, but a topup is still needed because KVM is creating a new/different
> mapping.
Sure.