mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
ANDROID: GKI: Enable KFENCE
Set KFENCE_SAMPLE_INTERVAL to zero to runtime disable KFENCE for now. The feature can be activated with kfence.sample_interval=<time ms>. Bug: 177201466 Change-Id: I8f8f3fcd578f414eeea6ef4d922e110b31325b27 Signed-off-by: Alistair Delva <adelva@google.com>
This commit is contained in:
parent
34aa9dec1c
commit
4240e9f97f
|
|
@ -600,6 +600,8 @@ CONFIG_MAGIC_SYSRQ=y
|
|||
CONFIG_DEBUG_FS=y
|
||||
CONFIG_DEBUG_STACK_USAGE=y
|
||||
CONFIG_DEBUG_MEMORY_INIT=y
|
||||
CONFIG_KFENCE=y
|
||||
CONFIG_KFENCE_SAMPLE_INTERVAL=0
|
||||
CONFIG_PANIC_ON_OOPS=y
|
||||
CONFIG_PANIC_TIMEOUT=-1
|
||||
CONFIG_WQ_WATCHDOG=y
|
||||
|
|
|
|||
|
|
@ -542,6 +542,8 @@ CONFIG_MAGIC_SYSRQ=y
|
|||
CONFIG_DEBUG_FS=y
|
||||
CONFIG_DEBUG_STACK_USAGE=y
|
||||
CONFIG_DEBUG_MEMORY_INIT=y
|
||||
CONFIG_KFENCE=y
|
||||
CONFIG_KFENCE_SAMPLE_INTERVAL=0
|
||||
CONFIG_PANIC_ON_OOPS=y
|
||||
CONFIG_PANIC_TIMEOUT=-1
|
||||
CONFIG_WQ_WATCHDOG=y
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user