Skip to content

PI-Futex bugfixes and cleanups

Thomas Gleixner lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4rt-mutex: Fix stale return valuekernel/rtmutex.c+9 -21 reply
2/4rt-mutex: Fix chain walk early wakeup bugkernel/rtmutex.c+13 -01 reply
3/4pi-futex: Fix exit races and locking problemsinclude/linux/sched.h kernel/exit.c kernel/futex.c+184 -1121 reply
4/4FUTEX: Tidy up the codekernel/futex.c kernel/rtmutex-debug.c kernel/rtmutex.c +1 more+88 -1231 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchIngo Molnar
1/4A-b
2/4A-b
3/4A-b
4/4A-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 0/4] PI-Futex bugfixes and cleanups

Andrew,

the following patch series solves the issues with pi-futexes which were reported from Alexey.

While the first three patches should go mainline ASAP, the last patch is not necessarily 2.6.22 material. I did this cleanup to make the code more readable again.

@stable:
The rtmutex patches (1,2) should apply to stable as is, but the futex patch will not. I'm going to backport the fixes tomorrow and send a seperate series with all fixes.

Pending problems:

There are also the pending REQUEUE_PI issues. I have seen some problems there, but I did not address them in this patch set. I have no test program to verify any changes in that code.

I'm not sure, whether we should keep the REQUEUE_PI stuff for 2.6.22. I'd prefer to back it out or at least disable it, so we can fix it proper for 2.6.23.

tglx

Sorry for the resend. My mailer did not notice the CC wreckage