[PATCH v2] arm64: spectre: increase parameters that can be used to turn off bhb mitigation individually

Catalin Marinas catalin.marinas at arm.com
Wed Sep 7 07:29:05 PDT 2022


On Fri, Aug 26, 2022 at 07:40:50PM +0800, Liu Song wrote:
> From: Liu Song <liusong at linux.alibaba.com>
> 
> 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 at linux.alibaba.com>

If people want to disable this mitigation and know what they are doing,
I have no objection:

Acked-by: Catalin Marinas <catalin.marinas at arm.com>

(I guess that's more like 6.1 material)

-- 
Catalin



More information about the linux-arm-kernel mailing list