Documentation/x86: Update split lock documentation
PATCH 1/1 Documentation/x86: Update split lock documentation
commit b041b525dab9 ("x86/split_lock: Make life miserable for split lockers") added a delay and serialization of cplit locks. Commit 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.
--- Documentation/x86/buslock.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
Documentation/x86/buslock.rst +8 -2
@@ -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 | | +------------------+----------------------------+-----------------------+
Signature · 1 line
2.39.2
Hi, Tony,
Quoted 2 lines · Tony Luck
commit
b041b525dab9("x86/split_lock: Make life miserable for split lockers") added a delay and serialization of cplit locks. Commit
s/cplit/split/
Quoted 22 lines
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 <[email protected]>--- Documentation/x86/buslock.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)Documentation/x86/buslock.rst +1
-2@@ -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. |
Documentation/x86/buslock.rst parameter "split_lock_detect". Here is a summary of different options: · line 66
Quoted 10 lines
Documentation/x86/buslock.rst +7
-0+| |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
Quoted 42 lines · Fenghua Yu
Hi, Tony,
Quoted 2 lines · Tony Luck
commit
b041b525dab9("x86/split_lock: Make life miserable for split lockers") added a delay and serialization of cplit locks. Commits/cplit/split/
Quoted 22 lines
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 <[email protected]>--- Documentation/x86/buslock.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)Documentation/x86/buslock.rst +1
-2@@ -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. |Documentation/x86/buslock.rst parameter "split_lock_detect". Here is a summary of different options: · line 66
Quoted 10 lines
Documentation/x86/buslock.rst +7
-0+| |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.
Quoted 3 lines
Thanks.
-Fenghua
Thanks for fixing the documentation Tony! Also looks great for me. Cheers,
Guilherme
Jonathan Corbet
maintainerQuoted 5 lines · Tony Luck
commit
b041b525dab9("x86/split_lock: Make life miserable for split lockers") added a delay and serialization of cplit locks. Commit727209376f49("x86/split_lock: Add sysctl to control the misery mode") provided a sysctl to turn off the misery.
Quoted 7 lines
Update the split lock documentation to describe the current state of the code.
Signed-off-by Tony Luck <[email protected]>--- Documentation/x86/buslock.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
Applied (with the typo pointed out by Fenghua fixed), thanks.
jon