Re: [PATCH v3 3/4] KVM: x86/mmu: Factor out tdp_iter_return_to_root

2021-03-16 Thread Sean Christopherson
On Mon, Mar 15, 2021, Ben Gardon wrote: > No functional change intended. I want royalties. > Signed-off-by: Ben Gardon > --- Reviewed-by: Sean Christopherson

[PATCH v3 3/4] KVM: x86/mmu: Factor out tdp_iter_return_to_root

2021-03-15 Thread Ben Gardon
In tdp_mmu_iter_cond_resched there is a call to tdp_iter_start which causes the iterator to continue its walk over the paging structure from the root. This is needed after a yield as paging structure could have been freed in the interim. The tdp_iter_start call is not very clear and something of