From 49bfc1fe3d7a2d4ad5ef670590441f202bf4f51c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 17 Feb 2006 08:07:21 +0000 Subject: * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_mutex_unlock): Avoid unnecessary wakeups. * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_mutex_unlock): Likewise. --- nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h | 2 +- nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'nptl/sysdeps/unix/sysv/linux') diff --git a/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h b/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h index f3b97143c4..afdba009a0 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h +++ b/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h @@ -309,7 +309,7 @@ extern int __lll_mutex_unlock_wake (int *__futex) ".previous\n" \ "1:" \ : "=m" (futex), "=&a" (ignore) \ - : "i" (FUTEX_TID_MASK), "m" (futex) \ + : "i" (FUTEX_WAITERS), "m" (futex) \ : "memory"); }) diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h index f91ce9b8d9..95e6923d4d 100644 --- a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h +++ b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h @@ -275,7 +275,7 @@ extern int __lll_mutex_unlock_wait (int *__futex) attribute_hidden; ".previous\n" \ "2:" \ : "=m" (futex), "=&D" (ignore) \ - : "i" (FUTEX_TID_MASK), "m" (futex) \ + : "i" (FUTEX_WAITERS), "m" (futex) \ : "ax", "cx", "r11", "cc", "memory"); }) -- cgit v1.2.3-70-g09d2