Re: [PATCH -next] lockdep: skip debugobjects for lock_classes[] init

From: Qian Cai
Date: Sun Mar 03 2019 - 22:06:55 EST




On 3/3/19 1:19 PM, Bart Van Assche wrote:
> [PATCH] locking/lockdep: Only call init_rcu_head() after RCU has been
> Âinitialized
>
> init_data_structures_once() is called for the first time before RCU has
> been initialized. Make sure that init_rcu_head() is called before the
> RCU head is used and after RCU has been initialized.
>
> Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx>

I like your approach more.

Tested-by: Qian Cai <cai@xxxxxx>