Re: [PATCH v3] printk_legacy_map: use LD_WAIT_CONFIG instead of LD_WAIT_SLEEP
From: Petr Mladek
Date: Wed Oct 29 2025 - 13:00:08 EST
On Sun 2025-10-26 16:07:26, Oleg Nesterov wrote:
> printk_legacy_map is used to hide lock nesting violations caused by
> legacy drivers and is using the wrong override type. LD_WAIT_SLEEP is
> for always sleeping lock types such as mutex_t. LD_WAIT_CONFIG is for
> lock type which are sleeping while spinning on PREEMPT_RT such as
> spinlock_t.
>
> Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>
JFYI, the patch has been comitted into printk/linux.git,
branch rework/threaded-printk.
It is queued for 6.19 merge window.
Best Regards,
Petr