Re: [PATCH] printk: Update @console_may_schedule in console_trylock_spinning()

From: Petr Mladek
Date: Fri Mar 15 2024 - 12:10:56 EST


On Mon 2024-02-26 13:07:24, John Ogness wrote:
> console_trylock_spinning() may takeover the console lock from a
> schedulable context. Update @console_may_schedule to make sure it
> reflects a trylock acquire.
>
> Reported-by: Mukesh Ojha <quic_mojha@xxxxxxxxxxx>
> Link: https://lore.kernel.org/lkml/20240222090538.23017-1-quic_mojha@xxxxxxxxxxx
> Fixes: dbdda842fe96 ("printk: Add console owner and waiter logic to load balance console writes")
> Signed-off-by: John Ogness <john.ogness@xxxxxxxxxxxxx>

Makes perfect sense:

Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>

JFYI, the patch has been committed into printk/linux.git, for-6.9
branch.

I am going to give it a spin in for-next and get it into 6.9
either in the 2nd half of the merge window or in rc1.

Best Regards,
Petr