hulk inclusion category: performance bugzilla: https://gitee.com/openeuler/kernel/issues/I9O7V8
---------------------------
This reverts commit ed1788cccc679592de2cc89a4992d2990e24d44c.
This patch has about 30% impact on syscall performance.
Signed-off-by: liwei liwei728@huawei.com --- arch/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 3f0c286ac662..308b869d1551 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -2636,7 +2636,7 @@ config MITIGATION_RFDS choice prompt "Clear branch history" depends on CPU_SUP_INTEL - default SPECTRE_BHI_ON + default SPECTRE_BHI_AUTO help Enable BHI mitigations. BHI attacks are a form of Spectre V2 attacks where the branch history buffer is poisoned to speculatively steer