提交 3000bdb8 编写于 作者: Y Yu Jiahua 提交者: Zheng Zengkai

Revert "sched: Fix branch prediction error in static_key"

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I4QU5Z?from=project-issue
CVE: NA

--------------------------------

This patch revert ias feature from open-euler kernel.

This reverts commit 37870264.
Signed-off-by: NYu Jiahua <Yujiahua1@huawei.com>
Reviewed-by: NChen Hui <judy.chenhui@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 b658d62c
......@@ -8576,7 +8576,7 @@ static void update_blocked_averages(int cpu)
update_rq_clock(rq);
#ifdef CONFIG_SCHED_OPTIMIZE_LOAD_TRACKING
if (!static_branch_likely(&sched_blocked_averages)) {
if (!static_branch_unlikely(&sched_blocked_averages)) {
rq_unlock_irqrestore(rq, &rf);
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册