Skip to content
Snippets Groups Projects
  • Mukesh Ojha's avatar
    Revert "ANDROID: gki_defconfig: enable CONFIG_KFENCE_STATIC_KEYS" · 511c84d7
    Mukesh Ojha authored
    
    This reverts commit ef1134dd.
    
    Sometimes back commit cfb00a35 ("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: default avatarMukesh Ojha <mukesh.ojha@oss.qualcomm.com>
    511c84d7