Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

lockdep: Fix wait-type for empty stack

Even the very first lock can violate the wait-context check, consider
the various IRQ contexts.

Fixes: de8f5e4f2dc1 ("lockdep: Introduce wait-type checks")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Joerg Roedel <jroedel@suse.de>
Link: https://lore.kernel.org/r/20210617190313.256987481@infradead.org

+1 -1
+1 -1
kernel/locking/lockdep.c
··· 4688 4688 u8 curr_inner; 4689 4689 int depth; 4690 4690 4691 - if (!curr->lockdep_depth || !next_inner || next->trylock) 4691 + if (!next_inner || next->trylock) 4692 4692 return 0; 4693 4693 4694 4694 if (!next_outer)