Commit 3000bdb8 authored by Yu Jiahua's avatar Yu Jiahua Committed by Zheng Zengkai
Browse files

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: default avatarYu Jiahua <Yujiahua1@huawei.com>
Reviewed-by: default avatarChen Hui <judy.chenhui@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent b658d62c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}