Messages in this thread | | | Subject | Re: [PATCH] locking/lockdep: Zap lock classes even with lock debugging disabled | From | Bart Van Assche <> | Date | Wed, 03 Apr 2019 14:15:29 -0700 |
| |
On Wed, 2019-04-03 at 13:44 +0100, Will Deacon wrote: > > --- a/kernel/locking/lockdep.c > > +++ b/kernel/locking/lockdep.c > > @@ -4689,8 +4689,7 @@ static void free_zapped_rcu(struct rcu_head *ch) > > return; > > > > raw_local_irq_save(flags); > > - if (!graph_lock()) > > - goto out_irq; > > + arch_spin_lock(&lockdep_lock); > > This also throws out the recursion counting. Is that ok?
Apparently not, as the build bot just figured out. I will restore recursion counting. See also https://lore.kernel.org/lkml/5ca4ea66.eVtXtf5CmqRjP7xF%25lkp@intel.com/.
Bart.
| |