[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YK8SRvhp1+iR2y6G@boqun-archlinux>
Date: Thu, 27 May 2021 11:30:14 +0800
From: Boqun Feng <boqun.feng@...il.com>
To: Xiongwei Song <sxwjean@...com>
Cc: peterz@...radead.org, mingo@...hat.com, will@...nel.org,
longman@...hat.com, corbet@....net, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, Xiongwei Song <sxwjean@...il.com>
Subject: Re: [PATCH] docs: lockdep-design: improve readability of the block
matrix
On Mon, May 24, 2021 at 11:05:45PM +0800, Xiongwei Song wrote:
> From: Xiongwei Song <sxwjean@...il.com>
>
> 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>
Reviewed-by: Boqun Feng <boqun.feng@...il.com>
Regards,
Boqun
> ---
> 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 |
> +---+---+---+---+
> --
> 2.7.4
>
Powered by blists - more mailing lists