Re: [patch RFC 10/29] kgbd: Pretend that console list walk is safe

From: Sergey Senozhatsky
Date: Wed Sep 14 2022 - 11:03:22 EST


On (22/09/11 00:27), Thomas Gleixner wrote:
> Provide a special list iterator macro for KGDB to allow unprotected list
> walks and add a few comments to explain the hope based approach.
>
> Preperatory change for changing the console list to hlist and adding
> lockdep asserts to regular list walks.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

Reviewed-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>

[..]
> - for_each_console(c) {
> + /*
> + * This is a completely unprotected list walk designed by the
> + * wishful thinking departement. See the oops_inprogress comment

s/oops_inprogress/oops_in_progress/