Re: [PATCH RESEND] x86/split_lock: Make split lock mitigation sleep duration configurable

From: Borislav Petkov

Date: Fri Oct 31 2025 - 07:06:04 EST


On Fri, Oct 31, 2025 at 10:46:31AM +0800, Fushuai Wang wrote:
> I think there are two main reasons for making the split lock mitigation
> sleep duration configurable:

IOW, you want to disable split lock.

What's the point otherwise?

Apparently you want to do some sort of a solution for a cloud environment but
you can't make everyone happy.

So you either allow split locks or you slow down offenders. Making this
configurable doesn't make a whole lotta sense to me unless you write a proper,
concrete use case which justifies this and not some AI-generated bla.

If not, you can just as well keep this in your kernels and use it there.

I do not see the point of adding this in the upstream kernel.

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette