Re: [PATCH] locking/lockdep: use pr_warn_once for reporting that lockdep is turned off

From: Peter Zijlstra
Date: Wed Jul 20 2022 - 10:59:21 EST


On Wed, Jul 20, 2022 at 10:01:36PM +0900, Tetsuo Handa wrote:
> debug_show_all_locks() can be called for multiple times if
> hung_task_call_panic = 0. No need to repeat this message.

That one extra line is really a problem?