Skip to content

Commit cdebfd2

Browse files
shenkimpe
authored andcommitted
powerpc/config: Disable SLAB_DEBUG_ON in skiroot
In 5.10 commit 5e84dd5 ("powerpc/configs/skiroot: Enable some more hardening options") set SLUB_DEBUG_ON. When 5.14 came around, commit 7927029 ("slub: force on no_hash_pointers when slub_debug is enabled") print all the pointers when SLUB_DEBUG_ON is set. This was fine, but in 5.12 commit 5ead723 ("lib/vsprintf: no_hash_pointers prints all addresses as unhashed") added the warning at boot. Disable SLAB_DEBUG_ON as we don't want the nasty warning. We have CONFIG_EXPERT so SLAB_DEBUG is enabled. We do lose the settings in DEBUG_DEFAULT_FLAGS, but it's not clear that these should have been always-on anyway. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20230705023056.16273-1-joel@jms.id.au
1 parent 61d7ebe commit cdebfd2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/powerpc/configs/skiroot_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,6 @@ CONFIG_LIBCRC32C=y
289289
# CONFIG_XZ_DEC_SPARC is not set
290290
CONFIG_PRINTK_TIME=y
291291
CONFIG_MAGIC_SYSRQ=y
292-
CONFIG_SLUB_DEBUG_ON=y
293292
CONFIG_SCHED_STACK_END_CHECK=y
294293
CONFIG_DEBUG_STACKOVERFLOW=y
295294
CONFIG_PANIC_ON_OOPS=y

0 commit comments

Comments
 (0)