Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Xiongwei Song and committed by
Peter Zijlstra
fab6216f bccf1ec3

+2 -2
+2 -2
Documentation/locking/lockdep-design.rst
··· 453 453 Block condition matrix, Y means the row blocks the column, and N means otherwise. 454 454 455 455 +---+---+---+---+ 456 - | | E | r | R | 456 + | | W | r | R | 457 457 +---+---+---+---+ 458 - | E | Y | Y | Y | 458 + | W | Y | Y | Y | 459 459 +---+---+---+---+ 460 460 | r | Y | Y | N | 461 461 +---+---+---+---+