Messages in this thread | | | Date | Tue, 8 Dec 2020 15:33:24 +0100 | From | Peter Zijlstra <> | Subject | Re: [RFC lockdep 4/4] lockdep/selftest: Add wait context selftests |
| |
On Tue, Dec 08, 2020 at 06:31:12PM +0800, Boqun Feng wrote: > 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.
Documentation/locking/locktypes.rst should have that.
> The test cases are only avaible for PROVE_RAW_LOCK_NESTING=y, as wait > context checking makes more sense for that configuration.
Looks about right ;-)
| |