forked from TencentOS/TencentOS-kernel
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:
parent
3ad771dafc
commit
e16b1d92b5
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue