locking/ww_mutex: Fix locktorture ww_mutex test problems
Status from this message: The following commit has been merged into the locking/urgent branch of tip:
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | locking/ww_mutex: Simplify use_ww_ctx & ww_ctx handlingkernel/ | +14 | 7 replies | |
| 2/4 | locking/ww_mutex: Fix acquire/release imbalance in ww_acquire_init()/ww_acquire_fini()include/ | +3 | 0 replies | |
| 3/4 | locking/ww_mutex: Treat ww_mutex_lock() like a trylockkernel/ | +4 | 15 replies | |
| 4/4 | locking/locktorture: Fix incorrect use of ww_acquire_ctx in ww_mutex testkernel/ | +56 | 2 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Davidlohr Bueso |
|---|---|
| 1/4 | A-b |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] locking/ww_mutex: Fix locktorture ww_mutex test problems
It was found that lockdep splat was produced whenever the ww_mutex locktorture test was run on a kernel with lockdep enabled. It turns out that there are bugs both in the ww_mutex and the locktorture code. This patch series fix these bugs so that the ww_mutex locktorture test is able to run without producing unexpected lockdep splat.
Patches 1 & 2 are clean-up patches for ww_mutex. Patch 3 fixes the lockdep bug in ww_mutex and patch 4 fixes a bug in the locktorture code.
Waiman Long (4):
locking/ww_mutex: Simplify use_ww_ctx & ww_ctx handling locking/ww_mutex: Fix acquire/release imbalance in
ww_acquire_init()/ww_acquire_fini()
locking/ww_mutex: Treat ww_mutex_lock() like a trylock locking/locktorture: Fix incorrect use of ww_acquire_ctx in ww_mutex
test
include/linux/ww_mutex.h | 5 ++- kernel/locking/locktorture.c | 86 +++++++++++++++++++++++------------- kernel/locking/mutex.c | 30 ++++++++----- 3 files changed, 77 insertions(+), 44 deletions(-)
Signature · 1 line
2.18.1