Revert "ANDROID: gki_defconfig: enable CONFIG_KFENCE_STATIC_KEYS"

This reverts commit ef1134dd04.

Sometimes back commit cfb00a3578 ("arm64: jump_label: Ensure patched
jump_labels are visible to all CPUs") got merged into all stable
branches wherever applicable with citing a bug in static key which
does not synchronizes among the cpus and adds IPI to all cores to
fix this.

Kfence is one of the user of static key and recently, it has been
observed that after above commit during toggling kfence_allocation_key
IPI is being sent to the core which are there low power mode which
has regressed power numbers and after disabling CONFIG_KFENCE_STATIC_KEYS
we see workload improved in the range of 1% - 10% resulting in 1% - 4%
power savings for few audio playback, video decode & display cases and
with no regression on benchmarks.

Bug: 394509835
Change-Id: I8efa3280bf115c33cc957f83ccb8e578730aa5f5
Signed-off-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>
This commit is contained in:
Mukesh Ojha
2025-02-25 10:43:04 +05:30
committed by Treehugger Robot
parent ca1ae7de0e
commit f61582cd83
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -764,7 +764,6 @@ CONFIG_KASAN_HW_TAGS=y
CONFIG_KFENCE=y
CONFIG_KFENCE_SAMPLE_INTERVAL=500
CONFIG_KFENCE_NUM_OBJECTS=63
CONFIG_KFENCE_STATIC_KEYS=y
CONFIG_PANIC_ON_OOPS=y
CONFIG_PANIC_TIMEOUT=-1
CONFIG_SOFTLOCKUP_DETECTOR=y
-1
View File
@@ -691,7 +691,6 @@ CONFIG_MEM_ALLOC_PROFILING=y
CONFIG_KFENCE=y
CONFIG_KFENCE_SAMPLE_INTERVAL=500
CONFIG_KFENCE_NUM_OBJECTS=63
CONFIG_KFENCE_STATIC_KEYS=y
CONFIG_PANIC_ON_OOPS=y
CONFIG_PANIC_TIMEOUT=-1
CONFIG_SOFTLOCKUP_DETECTOR=y