Re: [PATCH v2 3/3] KVM: x86/mmu: Don't allow TDP MMU to yield when recovering NX pages

From: Paolo Bonzini
Date: Fri Mar 26 2021 - 13:13:03 EST


On 25/03/21 23:45, Ben Gardon wrote:
I think in an earlier version of the TDP that I sent out, NX reclaim
was a seperate thread for the two MMUs, sidestepping the balance
issue.
I think the TDP MMU also had a seperate NX reclaim list.
That would also make it easier to do something under the read lock.

Yes that was my suggestion actually, I preferred to keep things simple because most of the time there would be only TDP MMU pages.

Paolo