Messages in this thread | | | From | John Ogness <> | Subject | Re: [PATCH printk v2 4/4] printk: Ignore waiter on panic | Date | Mon, 23 Oct 2023 11:21:43 +0206 |
| |
On 2023-10-18, Petr Mladek <pmladek@suse.com> wrote: > Well, I have spent some time thinking about possible scenarios and I would > go even further. I would block also console_lock_spinning_enable() > Also I would do the checks before taking console_owner_lock. > > It would make the behavior symmetric. And more importantly, it would prevent > possible deadlocks caused by console_owner_lock. > > See the proposed patch below. I created it to see the changes in the > code. Also I added info about possible scenarios and effects.
Reviewed-by: John Ogness <john.ogness@linutronix.de>
I will use your patch for the next version of this series.
John
| |