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

From: Luck, Tony
Date: Sat Jan 25 2020 - 18:10:23 EST



>
> Maybe "isn't supported" is not really the right wording. I would think that if it truly weren't supported that you really shouldn't be changing the mode at all at runtime. Do you really just mean "isn't atomic"? Or is there something deeper about it? If so, are there other possible risks associated with changing the mode at runtime?
>
> Sorry, the wording just happened to catch my eye

The âmodesâ here means the three option selectable by command line option. Off/warn/fatal. Some earlier versions of this patch had a sysfs interface to switch things around.

Not whether we have the MSR enabled/disabled.

If Thomas or Boris finds more things to fix then Iâll take a look at clarifying this comment too.

-Tony