summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorXiongwei Song <sxwjean@gmail.com>2021-05-24 23:05:45 +0800
committerPeter Zijlstra <peterz@infradead.org>2021-05-31 10:14:54 +0200
commitfab6216fafdd74cd84de929ffe7b787976d32cff (patch)
treee390927212e8c930a8e9ce1333e06ae73fefa1b9 /Documentation
parentbccf1ec369ac126b0997d01a6e1deae00e2cf6b3 (diff)
downloadlinux-fab6216fafdd74cd84de929ffe7b787976d32cff.tar.gz
linux-fab6216fafdd74cd84de929ffe7b787976d32cff.tar.bz2
linux-fab6216fafdd74cd84de929ffe7b787976d32cff.zip
locking/lockdep,doc: Improve readability of the block matrix
The block condition matrix is using 'E' as the writer notation, however, the writer reminder below the matrix is using 'W', to make them consistent and make the matrix more readable, we'd better to use 'W' to represent writer. Suggested-by: Waiman Long <llong@redhat.com> Suggested-by: Boqun Feng <boqun.feng@gmail.com> Signed-off-by: Xiongwei Song <sxwjean@gmail.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Boqun Feng <boqun.feng@gmail.com> Link: https://lkml.kernel.org/r/1621868745-23311-1-git-send-email-sxwjean@me.com
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/locking/lockdep-design.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/locking/lockdep-design.rst b/Documentation/locking/lockdep-design.rst
index 9f3cfca9f8a4..82f36cab61bd 100644
--- a/Documentation/locking/lockdep-design.rst
+++ b/Documentation/locking/lockdep-design.rst
@@ -453,9 +453,9 @@ There are simply four block conditions:
Block condition matrix, Y means the row blocks the column, and N means otherwise.
+---+---+---+---+
- | | E | r | R |
+ | | W | r | R |
+---+---+---+---+
- | E | Y | Y | Y |
+ | W | Y | Y | Y |
+---+---+---+---+
| r | Y | Y | N |
+---+---+---+---+