open CONFIG_JUMP_LABEL to optimize very unlikely/likely branches

This option enables a transparent branch optimization that
makes certain almost-always-true or almost-always-false branch
conditions even cheaper to execute within the kernel.

Signed-off-by: johnnyaiai <johnnyaiai@tencent.com>
This commit is contained in:
Jianping Liu 2022-05-18 20:09:51 +08:00 committed by johnnyaiai
parent 3ad771dafc
commit e16b1d92b5
1 changed files with 2 additions and 1 deletions

View File

@ -700,7 +700,8 @@ CONFIG_OPROFILE_EVENT_MULTIPLEX=y
CONFIG_HAVE_OPROFILE=y
CONFIG_OPROFILE_NMI_TIMER=y
CONFIG_KPROBES=y
# CONFIG_JUMP_LABEL is not set
CONFIG_JUMP_LABEL=y
# CONFIG_STATIC_KEYS_SELFTEST is not set
CONFIG_OPTPROBES=y
CONFIG_KPROBES_ON_FTRACE=y
CONFIG_UPROBES=y