Re: [PATCH v5 01/13] KVM: x86: Cache total page count to avoid traversing the memslot array

From: Maciej S. Szmigiero
Date: Wed Nov 03 2021 - 11:38:29 EST


On 03.11.2021 15:47, Sean Christopherson wrote:
On Wed, Nov 03, 2021, Maciej S. Szmigiero wrote:
Capping total n_memslots_pages makes sense to me to avoid the (existing)
nr_mmu_pages wraparound issue, will update the next patchset version
accordingly.

No need to do it yourself. I have a reworked version of the series with a bunch
of cleanups before and after the meat of your series, as well non-functional changes
(hopefully) to the "Resolve memslot ID via a hash table" and "Keep memslots in
tree-based structures" to avoid all the swap() behavior and to provide better
continuity between the aforementioned patches. Unless something goes sideways in
the last few touchups, I'll get it posted today.


Thanks.