Futex cleanups and race fix
Get series with b4
b4 am 20090922052452.8717.39673.stgit@AeonVersions newest first
- v1 Latest5 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | futex: correct futex_wait_requeue_pi() commentarykernel/ | +3 | 1 reply | |
| 2/5 | futex: correct queue_me and unqueue_me commentarykernel/ | +29 | 1 reply | |
| 3/5 | futex: make function kernel-doc commentary consistentkernel/ | +21 | 1 reply | |
| 4/5 | futex: correct futex_q woken state commentarykernel/ | +16 | 1 reply | |
| 5/5 | futex: fix wakeup race by setting TASK_INTERRUPTIBLE before queue_mekernel/ | +3 | 5 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Peter Zijlstra |
|---|---|
| 1/5 | A-b |
| 2/5 | A-b |
| 3/5 | A-b |
| 4/5 | A-b |
| 5/5 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] Futex cleanups and race fix
The following series corrects several innacurate comments in the futex code as well as reformat some of the existing comments to be mostly consistent throughout futex.c. The final patch fixes a nasty little race in the requeue pi code resulting in missed wakeups and hung userspace application threads.
---
Darren Hart (5):
futex: fix wakeup race by setting TASK_INTERRUPTIBLE before queue_me
futex: correct futex_q woken state commentary
futex: make function kernel-doc commentary consistent
futex: correct queue_me and unqueue_me commentary
futex: correct futex_wait_requeue_pi() commentary
kernel/futex.c | 135 ++++++++++++++++++++++++++++++-------------------------- 1 files changed, 72 insertions(+), 63 deletions(-)
Signature · 3 lines
Darren Hart IBM Linux Technology Center Real-Time Linux Team