aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xarray.c
diff options
context:
space:
mode:
authorGuilherme Giacomo Simoes <[email protected]>2025-04-28 20:14:09 +0000
committerAndrew Morton <[email protected]>2025-05-13 06:50:49 +0000
commit69eadd6a05409ca3725cabf8d60ccf6c8f87e193 (patch)
tree953ebb87b9b75eded20278176265b5eda6581072 /lib/xarray.c
parentmm: perform VMA allocation, freeing, duplication in mm (diff)
downloadkernel-69eadd6a05409ca3725cabf8d60ccf6c8f87e193.tar.gz
kernel-69eadd6a05409ca3725cabf8d60ccf6c8f87e193.zip
mm: page-flags-layout.h: change the KASAN_TAG_WIDTH for HW_TAGS
KASAN_TAG_WIDTH is 8 bits for both (HW_TAGS and SW_TAGS), but for HW_TAGS the KASAN_TAG_WIDTH can be 4 bits bits because due to the design of the MTE the memory words for storing metadata only need 4 bits. Change the preprocessor define KASAN_TAG_WIDTH for check if SW_TAGS is define, so KASAN_TAG_WIDTH should be 8 bits, but if HW_TAGS is define, so KASAN_TAG_WIDTH should be 4 bits to save a few flags bits. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Guilherme Giacomo Simoes <[email protected]> Suggested-by: Andrey Konovalov <[email protected]> Reviewed-by: Andrey Konovalov <[email protected]> Cc: Pasha Tatashin <[email protected]> Cc: Suren Baghdasaryan <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions