Commit fab6216f authored by Xiongwei Song's avatar Xiongwei Song Committed by Peter Zijlstra
Browse files

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: default avatarWaiman Long <llong@redhat.com>
Suggested-by: default avatarBoqun Feng <boqun.feng@gmail.com>
Signed-off-by: default avatarXiongwei Song <sxwjean@gmail.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: default avatarBoqun Feng <boqun.feng@gmail.com>
Link: https://lkml.kernel.org/r/1621868745-23311-1-git-send-email-sxwjean@me.com
parent bccf1ec3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 |
	+---+---+---+---+