Skip to content

RFC FUTEX_UNLOCK_PI wobbles

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 41 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4futex: Cleanup variable names for futex_top_waiter()kernel/futex.c+15 -152 replies
2/4futex: Use smp_store_release() in mark_wake_futex()kernel/futex.c+1 -23 replies
3/4futex: Remove rt_mutex_deadlock_account_*()kernel/locking/rtmutex-debug.c kernel/locking/rtmutex-debug.h kernel/locking/rtmutex.c +1 more+18 -434 replies
4/4futex: Rewrite FUTEX_UNLOCK_PIkernel/futex.c kernel/locking/rtmutex.c kernel/locking/rtmutex_common.h+110 -3828 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchSteven RostedtDavidlohr Bueso
1/4R-b R-b
2/4R-b
3/4R-b R-b
4/4

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

Read the v1 thread

Cover letter [RFC][PATCH 0/4] FUTEX_UNLOCK_PI wobbles

Hi,

During my last PI failing patch set it became obvious there's a number of related fail in FUTEX_UNLOCK_PI that needed sorting before we can move on with that stuff.

These here patches are the result of staring at that code for a wee bit.

Please have a very _very_ careful look at the last patch, it appears to not explode when running:

- perf bench futex lock-pi
- selftests/futex

but given the immense amount of tricky involved with both PI and futex there is bound to be something I've overlooked.

Do people have more/better futex-pi test cases?