Skip to content

The arduous story of FUTEX_UNLOCK_PI

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 32 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13futex: Cleanup variable names for futex_top_waiter()kernel/futex.c+15 -151 reply
2/13futex: Use smp_store_release() in mark_wake_futex()kernel/futex.c+1 -21 reply
3/13futex: Remove rt_mutex_deadlock_account_*()kernel/locking/rtmutex-debug.c kernel/locking/rtmutex-debug.h kernel/locking/rtmutex.c +1 more+18 -432 replies
4/13futex,rt_mutex: Provide futex specific rt_mutex APIkernel/futex.c kernel/locking/rtmutex.c kernel/locking/rtmutex_common.h+62 -326 replies
5/13futex: Change locking ruleskernel/futex.c+132 -334 replies
6/13futex: Cleanup refcountingkernel/futex.c+9 -41 reply
7/13futex: Rework inconsistent rt_mutex/futex_q statekernel/futex.c+14 -361 reply
8/13futex: Pull rt_mutex_futex_unlock() out from under hb->lockkernel/futex.c+100 -543 replies
9/13futex,rt_mutex: Introduce rt_mutex_init_waiter()kernel/futex.c kernel/locking/rtmutex.c kernel/locking/rtmutex_common.h+11 -71 reply
10/13futex,rt_mutex: Restructure rt_mutex_finish_proxy_lock()kernel/futex.c kernel/locking/rtmutex.c kernel/locking/rtmutex_common.h+56 -122 replies
11/13futex: Rework futex_lock_pi() to use rt_mutex_*_proxy_lock()kernel/futex.c kernel/locking/rtmutex.c kernel/locking/rtmutex_common.h+62 -423 replies
12/13futex: futex_unlock_pi() determinismkernel/futex.c+11 -131 reply
13/13futex: futex_lock_pi() vs PREEMPT_RT_FULLkernel/futex.c kernel/locking/rtmutex.c kernel/locking/rtmutex_common.h+52 -305 replies

Reviews trailers per patch

6 of 13 patches have a Reviewed-by or Acked-by.

PatchSebastian Andrzej SiewiorDarren Hart (VMware)
1/13R-b
2/13R-b
3/13R-b
4/13
5/13
6/13R-b
7/13
8/13
9/13R-b
10/13
11/13
12/13
13/13T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH -v6 00/13] The arduous story of FUTEX_UNLOCK_PI

Hi all,

Another installment of the futex patches that give you nightmares ;-)

This version sports updated comments and Changelogs as requested last time around. It also includes two fixes, both reported by Sebastian who was kind enough to stick this in his RT tree for some testing.

The last patch is RT specific, but I figure we can merge it anyway.

Again; I sincerely hope this to be the very last version.