Skip to content

Futex fixes and cleanups

Darren Hart lkml 1 version Applied

Status from this message: applied, thanks Darren!

Get series with b4
b4 am 20090312075349.9856.83687.stgit@Aeon

Versions newest first

  1. v1 Latest6 patches 35 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6Update futex commentarykernel/futex.c+14 -191 reply
2/6Additional (get|put)_futex_key() fixeskernel/futex.c+11 -57 replies
3/6futex: add double_unlock_hb()kernel/futex.c+17 -125 replies
4/6futex: Use current->time_slack_ns for rt tasks tookernel/futex.c+2 -510 replies
5/6futex: unlock before returning -EFAULTkernel/futex.c+7 -07 replies
6/6futex: cleanup fault logickernel/futex.c+36 -903 replies

Reviews trailers per patch

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

PatchPeter Zijlstra
1/6A-b
2/6A-b A-b
3/6A-b
4/6A-b
5/6A-b A-b
6/6A-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/6] Futex fixes and cleanups

Hi Ingo,

Here are some assorted futex fixes that I was hoping to get upstream in preparation for my requeue_pi patchset in the near future. They can found at the following git repository:

git://git.kernel.org/pub/scm/linux/kernel/git/dvhart/linux-2.6-tip-hacks.git futex-fixes

Note that prior to applying these patches to tip/core/futexes I did a "git merge master" to make sure I was patching the latest futex.c, including Peter's latest futex_key fix and the older syscall patches that core/futexes hadn't been synced yet with. Since this is my first attempt at a git pull request, and I would still really appreciate some review on the following patches, I have also included them in reply to this mail.

---

Darren Hart (6):
futex: cleanup fault logic
futex: unlock before returning -EFAULT
futex: Use current->time_slack_ns for rt tasks too
futex: add double_unlock_hb()
Additional (get|put)_futex_key() fixes Update futex commentary

 kernel/futex.c |  206 ++++++++++++++++++++++----------------------------------
 1 files changed, 81 insertions(+), 125 deletions(-)
Signature · 3 lines
Darren Hart
IBM Linux Technology Center
Real-Time Linux Team