the saga of FUTEX_UNLOCK_PI wobbles continues
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 14 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | futex: Fix potential use-after-free in FUTEX_REQUEUE_PIkernel/ | +11 | 0 replies | |
| 2/14 | futex: Add missing error handling to FUTEX_REQUEUE_PIkernel/ | +2 | 0 replies | |
| 3/14 | futex: Cleanup variable names for futex_top_waiter()kernel/ | +15 | 0 replies | |
| 4/14 | futex: Use smp_store_release() in mark_wake_futex()kernel/ | +1 | 0 replies | |
| 5/14 | futex: Remove rt_mutex_deadlock_account_*()kernel/ kernel/ kernel/ +1 more | +18 | 0 replies | |
| 6/14 | futex,rt_mutex: Provide futex specific rt_mutex APIkernel/ kernel/ kernel/ | +62 | 0 replies | |
| 7/14 | futex: Change locking ruleskernel/ | +123 | 3 replies | |
| 8/14 | futex: Cleanup refcountingkernel/ | +9 | 0 replies | |
| 9/14 | futex: Rework inconsistent rt_mutex/futex_q statekernel/ | +13 | 1 reply | |
| 10/14 | futex: Pull rt_mutex_futex_unlock() out from under hb->lockkernel/ | +91 | 2 replies | |
| 11/14 | futex,rt_mutex: Introduce rt_mutex_init_waiter()kernel/ kernel/ kernel/ | +11 | 0 replies | |
| 12/14 | futex,rt_mutex: Restructure rt_mutex_finish_proxy_lock()kernel/ kernel/ kernel/ | +49 | 8 replies | |
| 13/14 | futex: Rework futex_lock_pi() to use rt_mutex_*_proxy_lock()kernel/ kernel/ kernel/ | +48 | 0 replies | |
| 14/14 | futex: futex_unlock_pi() determinismkernel/ | +12 | 5 replies |
Reviews trailers per patch
2 of 14 patches have a Reviewed-by or Acked-by.
| Patch | Darren Hart |
|---|---|
| 1/14 | R-b |
| 2/14 | R-b |
| 3/14 | |
| 4/14 | |
| 5/14 | |
| 6/14 | |
| 7/14 | |
| 8/14 | |
| 9/14 | |
| 10/14 | |
| 11/14 | |
| 12/14 | |
| 13/14 | |
| 14/14 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH -v5 00/14] the saga of FUTEX_UNLOCK_PI wobbles continues
Hi all,
Here be the 5th iteration of these patches; which strive to unlock the rt_mutex without holding hb->lock.
In total this patch-set is very much like the previous one (including the 'late' fix) but it gets there in a slightly different -- and hopefully easier to understand -- route.
The last 3 patches could be superfluous if we can proof that the -EAGAIN retry in futex_unlock_pi() isn't a problem for bounded execution (or are willing to accept it). In this case the patch-set ends up simpler than before.
I sincerely hope this is the last of it; but please consider carefully, there be dragons here.