diff mbox series

[PATCH/LOCAL,1/3] arm64: renesas: defconfig: Enable slab hardening and kmalloc buckets

Message ID 6daddb7e01d98cbd386da75b6892d9d8296609bb.1722349965.git.geert+renesas@glider.be (mailing list archive)
State Mainlined
Commit 079f5a6918dd70148fdea32033f0faf2ed4bda65
Delegated to: Geert Uytterhoeven
Headers show
Series arm64: renesas: defconfig: Updates after v6.11-rc1 | expand

Commit Message

Geert Uytterhoeven July 30, 2024, 2:36 p.m. UTC
Enable slab freelist metadata hardening, which in turn enables support
for allocation from separate kmalloc buckets.  The latter is recommended
to be enabled, as per its help text.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm64/configs/renesas_defconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/arch/arm64/configs/renesas_defconfig b/arch/arm64/configs/renesas_defconfig
index c778d1b792c6d852..ec8af3ed1b382ac2 100644
--- a/arch/arm64/configs/renesas_defconfig
+++ b/arch/arm64/configs/renesas_defconfig
@@ -78,6 +78,7 @@  CONFIG_KVM=y
 CONFIG_JUMP_LABEL=y
 CONFIG_BLK_DEV_INTEGRITY=y
 # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_SLAB_FREELIST_HARDENED=y
 # CONFIG_COMPAT_BRK is not set
 CONFIG_KSM=y
 CONFIG_TRANSPARENT_HUGEPAGE=y