lkl: remove obsolete STACK_HASH_ORDER setting

CONFIG_STACK_HASH_ORDER was removed via mainline kernel commit
f9987921cb ("lib/stackdepot: replace CONFIG_STACK_HASH_ORDER with
automatic sizing") at around the same time as this was added via
downstream LKL commit facd006081 ("lkl: add KASAN support").

The automatic sizing uses a minimum of 12, which matches the obsolete
setting.

Signed-off-by: David Disseldorp <ddiss@suse.de>
This commit is contained in:
David Disseldorp
2025-06-06 20:38:08 +10:00
parent 62603ca172
commit b0c5c1e6e8

View File

@@ -138,9 +138,6 @@ endef
define kasan_enable
$(call set_autoconf_var,KASAN,y)
$(call set_kernel_config,KASAN,y)
# default is 20 which should be 1MB but observed 8MB of reserved
# memory - half of what we use
$(call set_kernel_config,STACK_HASH_ORDER,12)
$(if $(filter $(1),elf64-x86-64),$(call kasan_x86_64))
$(if $(filter yes,$(kasan_test)), $(call kasan_test_enable))
endef