Re: [PATCH] KVM: arm64: Top up the mmu memcache on user fault for NV
From: Lorenzo Stoakes (ARM)
Date: Tue Dec 01 2026 - 10:54:05 EST
On Tue, Dec 01, 2026 at 02:30:29PM +0000, Leonardo Bras wrote:
> Sure, an even better idea, as it simplifies things :)
Thanks :)
> I suppose it won't negatively impact throughput, but it would be nice to
> see some numbers. (it can be even faster :))
I think in general we're fairly safe in terms of any perf impact since the topup
only tops up if you need to, and assuming further page table mapping that is
going to happen at some point in any case.
And in any case, the conditional is now wrong (it was hidden in the 40 magic
number before), and I'm not sure it's possible to reasonably add another
expression to the if().
I will try to get some numbers though regardless and see if there's anything
impactful there!
--
Cheers, Lorenzo