Skip to content

RFC Fixes and self testcases for wait context detection

Boqun Feng lkml rcu 1 version Applied

Status from this message: The following commit has been merged into the locking/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4lockdep/selftest: Make HARDIRQ context threadedlib/locking-selftest.c+1 -00 replies
2/4lockdep: Allow wait context checking with empty ->held_lockskernel/locking/lockdep.c+5 -10 replies
3/4rcu/lockdep: Annotate the rcu_callback_map with proper wait contextskernel/rcu/update.c+6 -20 replies
4/4lockdep/selftest: Add wait context selftestslib/locking-selftest.c+232 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC lockdep 0/4] Fixes and self testcases for wait context detection

Hi Peter,

Recently I looked into the wait context check feature and found some places could use fixes, besides a suite of test cases is also added to verify these fixes and future development.

Note: I'm not 100% sure all the expected results of the test cases are correct, please do have a look at the the comment of patch #4 in case I miss something subtle.

Suggestion and comments are welcome!

Regards,
Boqun

Boqun Feng (4):
lockdep/selftest: Make HARDIRQ context threaded
lockdep: Allow wait context checking with empty ->held_locks rcu/lockdep: Annotate the rcu_callback_map with proper wait contexts lockdep/selftest: Add wait context selftests

 kernel/locking/lockdep.c |   6 +-
 kernel/rcu/update.c      |   8 +-
 lib/locking-selftest.c   | 233 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 244 insertions(+), 3 deletions(-)
Signature · 1 line
2.29.2