[PATCH v12 24/84] KVM: Use plain "struct page" pointer instead of single-entry array

Alex Bennée alex.bennee at linaro.org
Thu Aug 1 02:53:39 PDT 2024


Sean Christopherson <seanjc at google.com> writes:

> Use a single pointer instead of a single-entry array for the struct page
> pointer in hva_to_pfn_fast().  Using an array makes the code unnecessarily
> annoying to read and update.
>
> No functional change intended.
>
> Signed-off-by: Sean Christopherson <seanjc at google.com>

Reviewed-by: Alex Bennée <alex.bennee at linaro.org>

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro



More information about the kvm-riscv mailing list