Skip to content
Commit 877ace9e authored by Liu Song's avatar Liu Song Committed by Catalin Marinas
Browse files

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: default avatarLiu Song <liusong@linux.alibaba.com>
Acked-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/1661514050-22263-1-git-send-email-liusong@linux.alibaba.com
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 8eb858c4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment