Re: [PATCH printk v3 2/6] printk: track/limit recursion
From: Petr Mladek
Date: Thu Jun 24 2021 - 08:55:49 EST
On Thu 2021-06-24 13:17:44, John Ogness wrote:
> Currently the printk safe buffers provide a form of recursion
> protection by redirecting to the safe buffers whenever printk() is
> recursively called.
>
> In preparation for removal of the safe buffers, provide an alternate
> explicit recursion protection. Recursion is limited to 3 levels
> per-CPU and per-context.
>
> Signed-off-by: John Ogness <john.ogness@xxxxxxxxxxxxx>
It looks pretty straightforward.
Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>
Best Regards,
Petr