Re: [PATCH] x86/split_lock: Zap the unwieldy switch-case in sld_state_show()

From: Borislav Petkov

Date: Wed Jan 07 2026 - 06:28:58 EST


On Wed, Jan 07, 2026 at 01:38:41PM +0800, Xiaoyao Li wrote:
> For fatal mode, there is no such handling of temporarily disabling the
> feature and we don't need the CPU offline callback.

Yah, I got that. But why?

Why is fatal mode different?

Why does it matter what the split lock mode is when we offline CPUs?

--
Regards/Gruss,
Boris.

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