Re: [PATCH v15] x86/split_lock: Enable split lock detection by kernel

From: Borislav Petkov
Date: Sat Jan 25 2020 - 15:29:55 EST


On Sat, Jan 25, 2020 at 11:55:13AM -0800, Luck, Tony wrote:
> I don't have a good abbreviation. It would become the joint 2nd longest
> flag name ... top ten lengths look like this on my test machine. So while
> long, not unprecedented.

Yah, I guess we lost that battle long ago.

> Thomas explained how to fix it so we only call the function if TIF_SLD
> is set in either the previous or next process (but not both). So the
> overhead is just extra XOR/AND in the caller.

Yeah.

Thx.

--
Regards/Gruss,
Boris.

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