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

2019-03-03 Thread Qian Cai
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

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

2019-03-03 Thread Bart Van Assche
On 3/2/19 8:02 PM, Qian Cai wrote: The linux-next commit a0b0fd53e1e6 ("locking/lockdep: Free lock classes that are no longer in use") let init_data_structures_once() call init_rcu_head(). As the result, smp_setup_processor_id() calls debug_object_init() before debug_objects_early_init() triggeri

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

2019-03-02 Thread Qian Cai
The linux-next commit a0b0fd53e1e6 ("locking/lockdep: Free lock classes that are no longer in use") let init_data_structures_once() call init_rcu_head(). As the result, smp_setup_processor_id() calls debug_object_init() before debug_objects_early_init() triggering errors below on arm64 and ppc64le.