The patch titled futex-pi: Enforce waiter bit when owner died is detected has been removed from the -mm tree. Its filename is futex-pi-enforce-waiter-bit-when-owner-died-is-detected.patch This patch was probably dropped from -mm because it has now been merged into a subsystem tree or into Linus's tree, or because it was folded into its parent patch in the -mm tree. ------------------------------------------------------ Subject: futex-pi: Enforce waiter bit when owner died is detected From: Thomas Gleixner <tglx@xxxxxxxxxxxxx> simplifies the glibc handling of the possible race from userspace tasks which try to get hold of the lock and cleanup the mess which was leftover by the unexpectedly died previous owner. Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Signed-off-by: Ingo Molnar <mingo@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- kernel/futex.c | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff -puN kernel/futex.c~futex-pi-enforce-waiter-bit-when-owner-died-is-detected kernel/futex.c --- 25/kernel/futex.c~futex-pi-enforce-waiter-bit-when-owner-died-is-detected Wed Apr 26 14:24:21 2006 +++ 25-akpm/kernel/futex.c Wed Apr 26 14:24:21 2006 @@ -1161,11 +1161,16 @@ static int futex_lock_pi(u32 __user *uad * failed. When the OWNER_DIED bit is set, then we * know that this is a robust futex and we actually * take the lock. This is safe as we are protected by - * the hash bucket lock. + * the hash bucket lock. We also set the waiters bit + * unconditionally here, to simplify glibc handling of + * multiple tasks racing to acquire the lock and + * cleanup the problems which were left by the dead + * owner. */ if (curval & FUTEX_OWNER_DIED) { uval = newval; - newval = current->pid | FUTEX_OWNER_DIED; + newval = current->pid | + FUTEX_OWNER_DIED | FUTEX_WAITERS; inc_preempt_count(); curval = futex_atomic_cmpxchg_inatomic(uaddr, _ Patches currently in -mm which might be from tglx@xxxxxxxxxxxxx are git-mtd.patch pi-futex-futex-code-cleanupspatch.patch pi-futex-introduce-debug_check_no_locks_freedpatch.patch pi-futex-add-plist-implementationpatch.patch pi-futex-scheduler-support-for-pipatch.patch pi-futex-rt-mutex-corepatch.patch pi-futex-rt-mutex-docspatch.patch pi-futex-rt-mutex-debugpatch.patch pi-futex-rt-mutex-testerpatch.patch pi-futex-rt-mutex-futex-apipatch.patch pi-futex-futex_lock_pi-futex_unlock_pi-supportpatch.patch futex-pi-enforce-waiter-bit-when-owner-died-is-detected.patch rtmutex-debug-printk-correct-task-information.patch futex-pi-make-use-of-restart_block-when-interrupted.patch document-futex-pi-design.patch document-futex-pi-design-fix.patch document-futex-pi-design-fix-fix.patch futex_requeue-optimization.patch genirq-rename-desc-handler-to-desc-chip.patch genirq-sem2mutex-probe_sem-probing_active.patch genirq-cleanup-merge-irq_affinity-into-irq_desc.patch genirq-cleanup-remove-irq_descp.patch genirq-cleanup-remove-fastcall.patch genirq-cleanup-misc-code-cleanups.patch genirq-cleanup-reduce-irq_desc_t-use-mark-it-obsolete.patch genirq-cleanup-include-linux-irqh.patch genirq-cleanup-merge-irq_dir-smp_affinity_entry-into-irq_desc.patch genirq-cleanup-merge-pending_irq_cpumask-into-irq_desc.patch genirq-cleanup-turn-arch_has_irq_per_cpu-into-config_irq_per_cpu.patch genirq-debug-better-debug-printout-in-enable_irq.patch genirq-add-retrigger-irq-op-to-consolidate-hw_irq_resend.patch genirq-doc-comment-include-linux-irqh-structures.patch genirq-doc-handle_irq_event-and-__do_irq-comments.patch genirq-cleanup-no_irq_type-cleanups.patch genirq-doc-add-design-documentation.patch genirq-add-genirq-sw-irq-retrigger.patch genirq-add-irq_noprobe-support.patch genirq-add-irq_norequest-support.patch genirq-add-irq_noautoen-support.patch genirq-update-copyrights.patch genirq-core.patch genirq-add-irq-chip-support.patch genirq-add-handle_bad_irq.patch genirq-add-irq-wake-power-management-support.patch genirq-add-sa_trigger-support.patch genirq-convert-the-x86_64-architecture-to-irq-chips.patch genirq-convert-the-i386-architecture-to-irq-chips.patch genirq-convert-the-i386-architecture-to-irq-chips-fix-2.patch genirq-more-verbose-debugging-on-unexpected-irq-vectors.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html