Re: [PATCH 08/12] KVM: selftests: Use 'leaf' instead of hugepage to describe EPT entries

From: Jim Mattson

Date: Mon Oct 13 2025 - 14:34:32 EST


On Wed, Oct 1, 2025 at 8:05 AM Yosry Ahmed <yosry.ahmed@xxxxxxxxx> wrote:
>
> From: Yosry Ahmed <yosryahmed@xxxxxxxxxx>
>
> The assertions use 'hugepage' to describe a terminal EPT entry, but
> 'leaf' is more accruate as a PG_LEVEL_4K EPT entry is a leaf but not a

Nit: accurate

> hugepage. The distincion will be useful in coming changes that will pass

Nit: distinction

> the value around and 'leaf' is clearer than hugepage or page_size.
>
> Leave the EPT bit named page_size to keep it conforming to the manual.
>
> Signed-off-by: Yosry Ahmed <yosry.ahmed@xxxxxxxxx>
Reviewed-by: Jim Mattson <jmattson@xxxxxxxxxx>