Re: [PATCH] locking/lockdep: Zap lock classes even with lock debugging disabled
From: Bart Van Assche
Date: Wed Apr 03 2019 - 17:15:35 EST
On Wed, 2019-04-03 at 13:44 +-0100, Will Deacon wrote:
+AD4 +AD4 --- a/kernel/locking/lockdep.c
+AD4 +AD4 +-+-+- b/kernel/locking/lockdep.c
+AD4 +AD4 +AEAAQA -4689,8 +-4689,7 +AEAAQA static void free+AF8-zapped+AF8-rcu(struct rcu+AF8-head +ACo-ch)
+AD4 +AD4 return+ADs
+AD4 +AD4
+AD4 +AD4 raw+AF8-local+AF8-irq+AF8-save(flags)+ADs
+AD4 +AD4 - if (+ACE-graph+AF8-lock())
+AD4 +AD4 - goto out+AF8-irq+ADs
+AD4 +AD4 +- arch+AF8-spin+AF8-lock(+ACY-lockdep+AF8-lock)+ADs
+AD4
+AD4 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+ACU-25lkp+AEA-intel.com/.
Bart.