函数源码

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source File:arch\x86\kernel\cpu\bugs.c Create Date:2022-07-27 08:56:36
首页 Copyright©Brick

877
878
879
880
881
882
883
884
/* Update the static key controlling the evaluation of TIF_SPEC_IB */
static void update_indir_branch_cond(void)
{
    if (sched_smt_active())
        static_branch_enable(&switch_to_cond_stibp);
    else
        static_branch_disable(&switch_to_cond_stibp);
}