mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Guilherme G. Piccoli" <gpiccoli@igalia.com>
To: Fenghua Yu <fenghua.yu@intel.com>,
	Tony Luck <tony.luck@intel.com>, Jonathan Corbet <corbet@lwn.net>
Cc: x86@kernel.org, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org, patches@lists.linux.dev
Subject: Re: [PATCH] Documentation/x86: Update split lock documentation
Date: Thu, 16 Mar 2023 10:01:08 -0300	[thread overview]
Message-ID: <65ce7063-d966-efea-6a39-db81da6b05aa@igalia.com> (raw)
In-Reply-To: <c34372d8-8166-6be6-b3a3-5214a2bae37a@intel.com>

On 15/03/2023 20:13, Fenghua Yu wrote:
> Hi, Tony,
> 
> On 3/15/23 15:57, Tony Luck wrote:
>> commit b041b525dab9 ("x86/split_lock: Make life miserable for split
>> lockers") added a delay and serialization of cplit locks. Commit
>                                               s/cplit/split/
> 
>> 727209376f49 ("x86/split_lock: Add sysctl to control the misery mode")
>> provided a sysctl to turn off the misery.
>>
>> Update the split lock documentation to describe the current state of
>> the code.
>>
>> Signed-off-by: Tony Luck <tony.luck@intel.com>
>> ---
>>   Documentation/x86/buslock.rst | 10 ++++++++--
>>   1 file changed, 8 insertions(+), 2 deletions(-)
>>
>> diff --git a/Documentation/x86/buslock.rst b/Documentation/x86/buslock.rst
>> index 7c051e714943..31ec0ef78086 100644
>> --- a/Documentation/x86/buslock.rst
>> +++ b/Documentation/x86/buslock.rst
>> @@ -53,8 +53,14 @@ parameter "split_lock_detect". Here is a summary of different options:
>>   |off	  	   |Do nothing			|Do nothing		|
>>   +------------------+----------------------------+-----------------------+
>>   |warn		   |Kernel OOPs			|Warn once per task and |
>> -|(default)	   |Warn once per task and	|and continues to run.  |
>> -|		   |disable future checking	|			|
>> +|(default)	   |Warn once per task, add a	|and continues to run.  |
>> +|		   |delay, add synchronization	|			|
>> +|		   |to prevent more than one	|			|
>> +|		   |core from executing a	|			|
>> +|		   |split lock in parallel.	|			|
>> +|		   |sysctl split_lock_mitigate	|			|
>> +|		   |can be used to avoid the	|			|
>> +|		   |delay and synchronization	|			|
>>   |		   |When both features are	|			|
>>   |		   |supported, warn in #AC	|			|
>>   +------------------+----------------------------+-----------------------+
> 
> Other than the typo, looks good to me.
> 
> Thanks.
> 
> -Fenghua

Thanks for fixing the documentation Tony! Also looks great for me.
Cheers,


Guilherme

  reply	other threads:[~2023-03-16 13:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-15 22:57 Tony Luck
2023-03-15 23:13 ` Fenghua Yu
2023-03-16 13:01   ` Guilherme G. Piccoli [this message]
2023-03-23 18:03 ` Jonathan Corbet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=65ce7063-d966-efea-6a39-db81da6b05aa@igalia.com \
    --to=gpiccoli@igalia.com \
    --cc=corbet@lwn.net \
    --cc=fenghua.yu@intel.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=patches@lists.linux.dev \
    --cc=tony.luck@intel.com \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®