summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorFuad Tabba <fuad.tabba@linux.dev>2026-10-21 12:07:00 +0100
committerMarc Zyngier <maz@kernel.org>2026-11-03 12:03:43 +0000
commitda9f24dc43361b1cdcbba2fee7b90f4706819fa7 (patch)
treeaa02a1c6b5cfebb57340a848d232f057aeb9135c /scripts/Makefile.thinlto
parent249e053eaacb2959794a5ee3d27737063f4e3dad (diff)
arm64: mte: Add mte_clear_folio_tags()
mte_sync_tags(), sanitise_mte_tags() and kvm_vm_ioctl_mte_copy_tags() each open-code the loop that clears the tags of every page in a hugetlb folio. Add mte_clear_folio_tags() and use it in all three. kvm_vm_ioctl_mte_copy_tags() then tests for hugetlb first, as it does where it sets the tagged flag below. No functional change intended. Suggested-by: Lorenzo Stoakes (ARM) <ljs@kernel.org> Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Reviewed-by: Lorenzo Stoakes (ARM) <ljs@kernel.org> Link: https://patch.msgid.link/20261021110700.493315-5-fuad.tabba@linux.dev Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions