2023-06-19 10:34:39

by Chanho Min

[permalink] [raw]
Subject: [PATCH] kasan: fix mention for KASAN_HW_TAGS

This patch removes description of the KASAN_HW_TAGS's memory consumption.
KASAN_HW_TAGS does not set 1/32nd shadow memory.

Signed-off-by: Chanho Min <[email protected]>
---
lib/Kconfig.kasan | 2 --
1 file changed, 2 deletions(-)

diff --git a/lib/Kconfig.kasan b/lib/Kconfig.kasan
index fdca89c05745..5be1740234b9 100644
--- a/lib/Kconfig.kasan
+++ b/lib/Kconfig.kasan
@@ -124,8 +124,6 @@ config KASAN_HW_TAGS
Supported only on arm64 CPUs starting from ARMv8.5 and relies on
Memory Tagging Extension and Top Byte Ignore.

- Consumes about 1/32nd of available memory.
-
May potentially introduce problems related to pointer casting and
comparison, as it embeds a tag into the top byte of each pointer.

--
2.17.1