locking/lockdep,doc: Improve readability of the block matrix
authorXiongwei Song <sxwjean@gmail.com>
Mon, 24 May 2021 15:05:45 +0000 (23:05 +0800)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 31 May 2021 08:14:54 +0000 (10:14 +0200)
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
Documentation/locking/lockdep-design.rst

index 9f3cfca9f8a4547349205d7d53859fdb4e314d77..82f36cab61bddc93606c39b059d196d7a781fbf0 100644 (file)
@@ -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 |
        +---+---+---+---+