Re: [PATCH 2/2] KVM: Scalable memslots implementation

From: Paolo Bonzini
Date: Wed Feb 03 2021 - 08:50:04 EST


On 03/02/21 14:44, David Hildenbrand wrote:
BTW: what are your thoughts regarding converting the rmap array on x86-64 into some dynamic datastructre (xarray etc)? Has that already been discussed?

Hasn't been discussed---as always, showing the code would be the best way to start a discussion. :)

However, note that the TDP MMU does not need an rmap at all. Since that one is getting ready to become the default, the benefits of working on the rmap would be quite small and only affect nested virtualization.

Paolo