diff options
author | Boqun Feng <boqun.feng@gmail.com> | 2020-12-08 18:31:12 +0800 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-01-14 11:20:16 +0100 |
commit | 9271a40d2a1429113160ccc4c16150921600bcc1 (patch) | |
tree | dd13f92fe9e396ab33b06b7406cb48b2a1cf0cb6 /fs/eventfd.c | |
parent | e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62 (diff) |
lockdep/selftest: Add wait context selftests
These tests are added for two purposes:
* Test the implementation of wait context checks and related
annotations.
* Semi-document the rules for wait context nesting when
PROVE_RAW_LOCK_NESTING=y.
The test cases are only avaible for PROVE_RAW_LOCK_NESTING=y, as wait
context checking makes more sense for that configuration.
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20201208103112.2838119-5-boqun.feng@gmail.com
Diffstat (limited to 'fs/eventfd.c')
0 files changed, 0 insertions, 0 deletions