]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: spectre: increase parameters that can be used to turn off bhb mitigation indiv...
authorLiu Song <liusong@linux.alibaba.com>
Fri, 26 Aug 2022 11:40:50 +0000 (19:40 +0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 9 Sep 2022 18:02:22 +0000 (19:02 +0100)
commita3cb71b47595fb48a655836cb3927509f86fc12d
tree8bf06a8f23f1aeb42a3f1a2c1867d22b5da34466
parent6cf04bc2d3d01a40f669ca77112358259ff5c936
arm64: spectre: increase parameters that can be used to turn off bhb mitigation individually

In our environment, it was found that the mitigation BHB has a great
impact on the benchmark performance. For example, in the lmbench test,
the "process fork && exit" test performance drops by 20%.
So it is necessary to have the ability to turn off the mitigation
individually through cmdline, thus avoiding having to compile the
kernel by adjusting the config.

Signed-off-by: Liu Song <liusong@linux.alibaba.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/1661514050-22263-1-git-send-email-liusong@linux.alibaba.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Documentation/admin-guide/kernel-parameters.txt
arch/arm64/kernel/proton-pack.c