Am 28.06.2016 um 12:43 schrieb Paolo Bonzini:
On 28/06/2016 11:01, Peter Lieven wrote:
this was causing serious framentation in conjunction with the
subpages since RCU was introduced. The node space was allocated
at approx 32kB then reallocted to approx 75kB and this a few hundred
times at startup. And thanks to RCU the freeing was delayed.
Signed-off-by: Peter Lieven <p...@kamp.de>
The size of the node from the previous as->dispatch could be used as a
hint for the new one perhaps, avoiding the reallocation?
I will figure that out. But still all the PhyPageMaps are allocated before
they are freed. Or are you fine with using mmap here?
Peter