Skip to content
Commit 269201f5 authored by Alexandru Elisei's avatar Alexandru Elisei
Browse files

arm64: mte: Disable dynamic tag storage management if HW KASAN is enabled

Reserving the tag storage associated with a page when said page is
allocated with tags requires the ability to migrate existing data if the
tag storage is in use as data (non tagged) page.

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

Don't expose the tag storage pages to the memory allocator if HW KASAN is
enabled.
parent 6f2d3ef3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment