summaryrefslogtreecommitdiff
path: root/kernel/locking/lockdep.c
diff options
context:
space:
mode:
authorBoqun Feng <boqun.feng@gmail.com>2020-08-07 15:42:32 +0800
committerPeter Zijlstra <peterz@infradead.org>2020-08-26 12:42:06 +0200
commitd4f200e579e96051f1f081f795820787826eb234 (patch)
treeaa3051bc538092205afceffe8c9933e4b8da7a1a /kernel/locking/lockdep.c
parent621c9dac0eea7607cb9a57cc9ba47fbcd4e644c9 (diff)
downloadlwn-d4f200e579e96051f1f081f795820787826eb234.tar.gz
lwn-d4f200e579e96051f1f081f795820787826eb234.zip
lockdep/selftest: Add a R-L/L-W test case specific to chain cache behavior
As our chain cache doesn't differ read/write locks, so even we can detect a read-lock/lock-write deadlock in check_noncircular(), we can still be fooled if a read-lock/lock-read case(which is not a deadlock) comes first. So introduce this test case to test specific to the chain cache behavior on detecting recursive read lock related deadlocks. Signed-off-by: Boqun Feng <boqun.feng@gmail.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20200807074238.1632519-14-boqun.feng@gmail.com
Diffstat (limited to 'kernel/locking/lockdep.c')
0 files changed, 0 insertions, 0 deletions