lkml.org 
[lkml]   [2020]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 04/24] docs: lockdep-design: fix some warning issues
On Tue, Oct 13, 2020 at 02:14:31PM +0200, Mauro Carvalho Chehab wrote:
> + ===== ===================================================
> + ``.`` acquired while irqs disabled and not in irq context
> + ``-`` acquired in irq context
> + ``+`` acquired with irqs enabled
> + ``?`` acquired in irq context with irqs enabled.
> + ===== ===================================================
>
> The bits are illustrated with an example::
>
> @@ -96,14 +99,14 @@ exact case is for the lock as of the reporting time.
> +--------------+-------------+--------------+
> | | irq enabled | irq disabled |
> +--------------+-------------+--------------+
> - | ever in irq | ? | - |
> + | ever in irq | ``?`` | ``-`` |
> +--------------+-------------+--------------+
> - | never in irq | + | . |
> + | never in irq | ``+`` | ``.`` |
> +--------------+-------------+--------------+
>
> -The character '-' suggests irq is disabled because if otherwise the
> -charactor '?' would have been shown instead. Similar deduction can be
> -applied for '+' too.
> +The character ``-`` suggests irq is disabled because if otherwise the
> +charactor ``?`` would have been shown instead. Similar deduction can be
> +applied for ``+`` too.
>

NAK!

\
 
 \ /
  Last update: 2020-10-13 14:53    [W:0.285 / U:1.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site