kernel_samsung_a53x/kernel/printk
John Ogness 7477d8814d printk: Update @console_may_schedule in console_trylock_spinning()
[ Upstream commit 8076972468584d4a21dab9aa50e388b3ea9ad8c7 ]

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@quicinc.com>
Closes: https://lore.kernel.org/lkml/20240222090538.23017-1-quic_mojha@quicinc.com
Fixes: dbdda842fe96 ("printk: Add console owner and waiter logic to load balance console writes")
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Mukesh Ojha <quic_mojha@quicinc.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/875xybmo2z.fsf@jogness.linutronix.de
Signed-off-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 09:22:40 +01:00
..
braille.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
braille.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
console_cmdline.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
internal.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
printk.c printk: Update @console_may_schedule in console_trylock_spinning() 2024-11-19 09:22:40 +01:00
printk_ringbuffer.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
printk_ringbuffer.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
printk_safe.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00