Re: [PATCH RFC v2 14/27] arm64: mte: Disable dynamic tag storage management if HW KASAN is enabled

From: David Hildenbrand
Date: Fri Nov 24 2023 - 14:54:22 EST


On 19.11.23 17:57, Alexandru Elisei wrote:
To be able to reserve the tag storage associated with a page requires that
the tag storage page can be migrated.

When HW KASAN is enabled, the kernel allocates pages, which are now tagged,
in non-preemptible contexts, which can make reserving the associate tag
storage impossible.

I assume that it's the only in-kernel user that actually requires tagged memory (besides for user space), correct?

--
Cheers,

David / dhildenb