Re: [PATCH] KVM: arm64: Release mmap_lock when using VM_SHARED with MTE

From
Marc Zyngier <maz@kernel.org>
Date
2021-10-05 12:23:36
Also in
kvmarm, lkml
Reply to
Quentin Perret, 2021-10-05
On Tue, 5 Oct 2021 13:20:31 +0100, Quentin Perret wrote:
VM_SHARED mappings are currently forbidden in a memslot with MTE to
prevent two VMs racing to sanitise the same page. However, this check
is performed while holding current->mm's mmap_lock, but fails to release
it. Fix this by releasing the lock when needed.
Applied to fixes, thanks!

[1/1] KVM: arm64: Release mmap_lock when using VM_SHARED with MTE
      commit: 6e6a8ef088e1222cb1250942f51ad9c1ab219ab2

Cheers,

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



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (2 messages) 2 messages, 2 authors, last reply 2021-10-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help