lkml.org 
[lkml]   [2020]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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 ;-)

\
 
 \ /
  Last update: 2020-12-08 15:35    [W:0.061 / U:0.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site