Re: [PATCH v5 13/18] x86/split_lock: Add a sysfs interface to allow user to enable or disable split lock detection on all CPUs during run time

From: Dave Hansen
Date: Tue Mar 12 2019 - 21:08:29 EST


On 3/12/19 5:53 PM, Fenghua Yu wrote:
> On Tue, Mar 12, 2019 at 04:48:09PM -0700, Dave Hansen wrote:
>> On 3/12/19 4:00 PM, Fenghua Yu wrote:
>>> The interface /sys/device/system/cpu/split_lock_detect is added
>>> to allow user to control split lock detection and show current split
>>> lock detection setting.
>> Did I miss the Documentation/ for this new sysfs feature?
> I don't have a doc for the interface.
>
> Should I create a new file in Documentation/ or can I add the interface
> doc in an existing doc file?

I'd suggest spending a few minutes familiarizing yourself with
Documentation/. Maybe you can even grep for some other similar files in
there and see if those are documented.