On Tue, Nov 5, 2024 at 11:43 AM James Houghton <jthoughton@xxxxxxxxxx> wrote: > > Reorder the TDP MMU check to be first for both kvm_test_age_gfn and > kvm_age_gfn. For kvm_test_age_gfn, this allows us to completely avoid > needing to grab the MMU lock when the TDP MMU reports that the page is > young. Do the same for kvm_age_gfn merely for consistency. > > Signed-off-by: James Houghton <jthoughton@xxxxxxxxxx> Acked-by: Yu Zhao <yuzhao@xxxxxxxxxx>