[PATCH] KVM: arm64: Update stale comment for sanitise_mte_tags()

Marc Zyngier maz at kernel.org
Mon Sep 15 09:53:28 PDT 2025


On Mon, 15 Sep 2025 16:52:34 +0100, Alexandru Elisei wrote:
> Commit c911f0d46879 ("KVM: arm64: permit all VM_MTE_ALLOWED mappings
> with MTE enabled") allowed VM_SHARED VMAs in a VM with MTE enabled, so
> remove the comment to the contrary.
> 
> Commit d77e59a8fccd ("arm64: mte: Lock a page for MTE tag initialisation")
> removed the race that can lead to tags being zeroed more than once when
> multiple threads attempt initialisation at the same time, so remove the
> comment about mmap_lock too. Note that sanitise_mte_tags() was never called
> with the mmap_lock held from user_mem_abort() and the race was prevented by
> kvm->mmu_lock.
> 
> [...]

Applied to next, thanks!

[1/1] KVM: arm64: Update stale comment for sanitise_mte_tags()
      commit: 597f41e1743882db32f99dde062adbec29104586

Cheers,

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





More information about the linux-arm-kernel mailing list