We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e61dd67 commit ff9bf4bCopy full SHA for ff9bf4b
kernel/locking/lockdep.c
@@ -5936,6 +5936,9 @@ __lock_contended(struct lockdep_map *lock, unsigned long ip)
5936
if (DEBUG_LOCKS_WARN_ON(!depth))
5937
return;
5938
5939
+ if (unlikely(lock->key == &__lockdep_no_track__))
5940
+ return;
5941
+
5942
hlock = find_held_lock(curr, lock, depth, &i);
5943
if (!hlock) {
5944
print_lock_contention_bug(curr, lock, ip);
@@ -5978,6 +5981,9 @@ __lock_acquired(struct lockdep_map *lock, unsigned long ip)
5978
5981
5979
5982
5980
5983
5984
5985
5986
5987
5988
5989
print_lock_contention_bug(curr, lock, _RET_IP_);
0 commit comments