[PATCH] KVM: arm64: Fix nested S2 MMU structures reallocation

Marc Zyngier maz at kernel.org
Tue Feb 4 07:03:57 PST 2025


On Tue, 04 Feb 2025 14:55:54 +0000, Marc Zyngier wrote:
> For each vcpu that userspace creates, we allocate a number of
> s2_mmu structures that will eventually contain our shadow S2
> page tables.
> 
> Since this is a dynamically allocated array, we reallocate
> the array and initialise the newly allocated elements. Once
> everything is correctly initialised, we adjust pointer and size
> in the kvm structure, and move on.
> 
> [...]

Applied to fixes, thanks!

[1/1] KVM: arm64: Fix nested S2 MMU structures reallocation
      commit: 5417a2e9b130a78bf48cb4cf92630efcee5ccf38

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.





More information about the linux-arm-kernel mailing list