[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <162245763681.29796.2319971825299196026.tip-bot2@tip-bot2>
Date: Mon, 31 May 2021 10:40:36 -0000
From: "tip-bot2 for Xiongwei Song" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Waiman Long <llong@...hat.com>, Boqun Feng <boqun.feng@...il.com>,
Xiongwei Song <sxwjean@...il.com>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: locking/core] locking/lockdep,doc: Improve readability of the
block matrix
The following commit has been merged into the locking/core branch of tip:
Commit-ID: fab6216fafdd74cd84de929ffe7b787976d32cff
Gitweb: https://git.kernel.org/tip/fab6216fafdd74cd84de929ffe7b787976d32cff
Author: Xiongwei Song <sxwjean@...il.com>
AuthorDate: Mon, 24 May 2021 23:05:45 +08:00
Committer: Peter Zijlstra <peterz@...radead.org>
CommitterDate: Mon, 31 May 2021 10:14:54 +02:00
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@...hat.com>
Suggested-by: Boqun Feng <boqun.feng@...il.com>
Signed-off-by: Xiongwei Song <sxwjean@...il.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Reviewed-by: Boqun Feng <boqun.feng@...il.com>
Link: https://lkml.kernel.org/r/1621868745-23311-1-git-send-email-sxwjean@me.com
---
Documentation/locking/lockdep-design.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/locking/lockdep-design.rst b/Documentation/locking/lockdep-design.rst
index 9f3cfca..82f36ca 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 |
+---+---+---+---+
Powered by blists - more mailing lists