Skip to content

futex: Prevent inconsistent state and exit race

Thomas Gleixner lkml 1 version Applied

Status from this message: The following commit has been merged into the locking/urgent branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3futex: Prevent inconsistent state and exit racekernel/futex.c+55 -430 replies
2/3futex: Clarify comment for requeue_pi_wake_futex()kernel/futex.c+20 -60 replies
3/3futex: Avoid redundant task lookupkernel/futex.c+37 -300 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPeter Zijlstra (Intel)
SeriesA-b
1/3
2/3
3/3

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/3] futex: Prevent inconsistent state and exit race

The recent requeue PI changes introduced a condition where a waiter can escape to user space with inconsistent state and in the worst case exit before state has been made correct.

The following series addresses this.

Applies on top of

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/urgent

Thanks,

tglx

---
 futex.c |  185 +++++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 109 insertions(+), 76 deletions(-)