forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork0
Commitd4f200e
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 candetect a read-lock/lock-write deadlock in check_noncircular(), we canstill 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 behavioron 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.com1 parent621c9da commitd4f200e
1 file changed
+47
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
399 | 442 | | |
400 | 443 | | |
401 | 444 | | |
| |||
2062 | 2105 | | |
2063 | 2106 | | |
2064 | 2107 | | |
| 2108 | + | |
| 2109 | + | |
| 2110 | + | |
| 2111 | + | |
2065 | 2112 | | |
2066 | 2113 | | |
2067 | 2114 | | |
| |||
0 commit comments
Comments
(0)