Re: [PATCH] locking/lockdep: Make lockdep_register_key() ignore 'debug_locks'

From: Bart Van Assche
Date: Fri Apr 12 2019 - 11:32:48 EST


On Fri, 2019-04-12 at 07:47 +-0200, Ingo Molnar wrote:
+AD4 So why don't we add a debug+AF8-locks test to lockdep+AF8-unregister+AF8-key()
+AD4 instead? The general principle to bring lockdep to a screeching halt when
+AD4 bugs are detected, ASAP.

Hi Ingo,

Since this issue was introduced by patch +ACI-locking/lockdep: Zap lock classes
even with lock debugging disabled+ACI and since that patch is in the tip tree
but not yet upstream: do you prefer that I post a version 3 of that patch or
do you rather prefer that I post a follow-up patch?

Thanks,

Bart.