KVM: x86/mmu: Use 'end' param in TDP MMU's test_age_gfn()
authorSean Christopherson <seanjc@google.com>
Fri, 26 Feb 2021 01:03:27 +0000 (17:03 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 15 Mar 2021 08:43:31 +0000 (04:43 -0400)
commite12b785e52fc26d5456b16d5a6e1968cd1deab41
treeca5b0ae7b1c394ec894430ffc9e0f2563f2cff2a
parent74fe0f547454a19a033b03ac55cf248e28f11db6
KVM: x86/mmu: Use 'end' param in TDP MMU's test_age_gfn()

Use the @end param when aging a GFN instead of hardcoding the walk to a
single GFN.  Unlike tdp_set_spte(), which simply cannot work with more
than one GFN, aging multiple GFNs would not break, though admittedly it
would be weird.  Be nice to the casual reader and don't make them puzzle
out why the end GFN is unused.

No functional change intended.

Cc: Ben Gardon <bgardon@google.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210226010329.1766033-4-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/tdp_mmu.c