Re: [PATCH] char/random: silence a lockdep splat with printk()

From: Qian Cai
Date: Thu Jan 02 2020 - 12:16:32 EST




> On Jan 2, 2020, at 12:07 PM, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> How would this disable lockdep early in the process? The patch is just
> changing pr_notice() to printk_deferred() correct?

Yes, I meant without this patch. Lockdep will easily generate this potential deadlock warning early after boot and then disable itself.