Skip to content

Commit 3c18a20

Browse files
committed
powerpc/configs/64s: Enable DEBUG_VM & other options
Fedora enables DEBUG_VM, which has led to occasions where a VM_BUG_ON() is not caught by upstream testing, but rather is first found in Fedora, which is not how it's meant to be. PAGE_OWNER & PAGE_POISONING both need to be enabled on the kernel command line, so should not add much overhead in normal operation. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20230414132415.821564-20-mpe@ellerman.id.au
1 parent 7ccad8e commit 3c18a20

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

arch/powerpc/configs/ppc64_defconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,14 +397,20 @@ CONFIG_PRINTK_TIME=y
397397
CONFIG_PRINTK_CALLER=y
398398
CONFIG_DEBUG_KERNEL=y
399399
CONFIG_MAGIC_SYSRQ=y
400+
CONFIG_PAGE_OWNER=y
401+
CONFIG_PAGE_POISONING=y
400402
CONFIG_DEBUG_RODATA_TEST=y
403+
CONFIG_DEBUG_WX=y
401404
CONFIG_DEBUG_STACK_USAGE=y
405+
CONFIG_DEBUG_VM=y
406+
# CONFIG_DEBUG_VM_PGTABLE is not set
402407
CONFIG_DEBUG_STACKOVERFLOW=y
403408
CONFIG_SOFTLOCKUP_DETECTOR=y
404409
CONFIG_HARDLOCKUP_DETECTOR=y
405410
CONFIG_DEBUG_MUTEXES=y
406411
CONFIG_FUNCTION_TRACER=y
407412
CONFIG_LOCK_TORTURE_TEST=m
413+
CONFIG_BUG_ON_DATA_CORRUPTION=y
408414
CONFIG_STACK_TRACER=y
409415
CONFIG_SCHED_TRACER=y
410416
CONFIG_FTRACE_SYSCALLS=y

0 commit comments

Comments
 (0)