[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r3721 - in glibc-package/trunk/debian: . patches patches/any



Author: aurel32
Date: 2009-07-30 21:00:54 +0000 (Thu, 30 Jul 2009)
New Revision: 3721

Removed:
   glibc-package/trunk/debian/patches/any/cvs-pthread_mutex_lock.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * Remove any/cvs-pthread_mutex_lock.diff following upstream decision.



Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2009-07-30 14:17:31 UTC (rev 3720)
+++ glibc-package/trunk/debian/changelog	2009-07-30 21:00:54 UTC (rev 3721)
@@ -1,3 +1,9 @@
+eglibc (2.9-24) UNRELEASED; urgency=low
+
+  * Remove any/cvs-pthread_mutex_lock.diff following upstream decision.
+
+ -- Aurelien Jarno <aurel32@debian.org>  Thu, 30 Jul 2009 22:59:32 +0200
+
 eglibc (2.9-23) unstable; urgency=low
 
   * debhelper.in/libc.postinst, sysdeps/depflags.pl: remove upgrade code

Deleted: glibc-package/trunk/debian/patches/any/cvs-pthread_mutex_lock.diff
===================================================================
--- glibc-package/trunk/debian/patches/any/cvs-pthread_mutex_lock.diff	2009-07-30 14:17:31 UTC (rev 3720)
+++ glibc-package/trunk/debian/patches/any/cvs-pthread_mutex_lock.diff	2009-07-30 21:00:54 UTC (rev 3721)
@@ -1,110 +0,0 @@
-2009-07-26  Ulrich Drepper  <drepper@redhat.com>
-
-	[BZ #10418]
-	* pthread_mutex_lock.c (pthread_mutex_lock): Use _rel instead of of
-	_acq variants of cmpxchg.
-	* pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
- 
- 	* sysdeps/x86_64/configure.in: New file.
---- a/nptl/pthread_mutex_lock.c
-+++ b/nptl/pthread_mutex_lock.c
-@@ -160,7 +160,7 @@ __pthread_mutex_lock_full (pthread_mutex_t *mutex)
- #endif
- 
- 	      newval
--		= atomic_compare_and_exchange_val_acq (&mutex->__data.__lock,
-+		= atomic_compare_and_exchange_val_rel (&mutex->__data.__lock,
- 						       newval, oldval);
- 
- 	      if (newval != oldval)
-@@ -285,7 +285,7 @@ __pthread_mutex_lock_full (pthread_mutex_t *mutex)
- #ifdef NO_INCR
- 	newval |= FUTEX_WAITERS;
- #endif
--	oldval = atomic_compare_and_exchange_val_acq (&mutex->__data.__lock,
-+	oldval = atomic_compare_and_exchange_val_rel (&mutex->__data.__lock,
- 						      newval, 0);
- 
- 	if (oldval != 0)
-@@ -420,7 +420,7 @@ __pthread_mutex_lock_full (pthread_mutex_t *mutex)
- 	    oldprio = ceiling;
- 
- 	    oldval
--	      = atomic_compare_and_exchange_val_acq (&mutex->__data.__lock,
-+	      = atomic_compare_and_exchange_val_rel (&mutex->__data.__lock,
- #ifdef NO_INCR
- 						     ceilval | 2,
- #else
-@@ -434,7 +434,7 @@ __pthread_mutex_lock_full (pthread_mutex_t *mutex)
- 	    do
- 	      {
- 		oldval
--		  = atomic_compare_and_exchange_val_acq (&mutex->__data.__lock,
-+		  = atomic_compare_and_exchange_val_rel (&mutex->__data.__lock,
- 							 ceilval | 2,
- 							 ceilval | 1);
- 
-@@ -445,7 +445,7 @@ __pthread_mutex_lock_full (pthread_mutex_t *mutex)
- 		  lll_futex_wait (&mutex->__data.__lock, ceilval | 2,
- 				  PTHREAD_MUTEX_PSHARED (mutex));
- 	      }
--	    while (atomic_compare_and_exchange_val_acq (&mutex->__data.__lock,
-+	    while (atomic_compare_and_exchange_val_rel (&mutex->__data.__lock,
- 							ceilval | 2, ceilval)
- 		   != ceilval);
- 	  }
-diff --git a/nptl/pthread_mutex_timedlock.c b/nptl/pthread_mutex_timedlock.c
-index 8d0db79..2c6ff11 100644
---- a/nptl/pthread_mutex_timedlock.c
-+++ b/nptl/pthread_mutex_timedlock.c
-@@ -1,4 +1,4 @@
--/* Copyright (C) 2002-2007, 2008 Free Software Foundation, Inc.
-+/* Copyright (C) 2002-2007, 2008, 2009 Free Software Foundation, Inc.
-    This file is part of the GNU C Library.
-    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
- 
-@@ -126,7 +126,7 @@ pthread_mutex_timedlock (mutex, abstime)
- 	      int newval = id | (oldval & FUTEX_WAITERS);
- 
- 	      newval
--		= atomic_compare_and_exchange_val_acq (&mutex->__data.__lock,
-+		= atomic_compare_and_exchange_val_rel (&mutex->__data.__lock,
- 						       newval, oldval);
- 	      if (newval != oldval)
- 		{
-@@ -246,7 +246,7 @@ pthread_mutex_timedlock (mutex, abstime)
- 	      }
- 	  }
- 
--	oldval = atomic_compare_and_exchange_val_acq (&mutex->__data.__lock,
-+	oldval = atomic_compare_and_exchange_val_rel (&mutex->__data.__lock,
- 						      id, 0);
- 
- 	if (oldval != 0)
-@@ -404,7 +404,7 @@ pthread_mutex_timedlock (mutex, abstime)
- 	    oldprio = ceiling;
- 
- 	    oldval
--	      = atomic_compare_and_exchange_val_acq (&mutex->__data.__lock,
-+	      = atomic_compare_and_exchange_val_rel (&mutex->__data.__lock,
- 						     ceilval | 1, ceilval);
- 
- 	    if (oldval == ceilval)
-@@ -413,7 +413,7 @@ pthread_mutex_timedlock (mutex, abstime)
- 	    do
- 	      {
- 		oldval
--		  = atomic_compare_and_exchange_val_acq (&mutex->__data.__lock,
-+		  = atomic_compare_and_exchange_val_rel (&mutex->__data.__lock,
- 							 ceilval | 2,
- 							 ceilval | 1);
- 
-@@ -456,7 +456,7 @@ pthread_mutex_timedlock (mutex, abstime)
- 					  PTHREAD_MUTEX_PSHARED (mutex));
- 		  }
- 	      }
--	    while (atomic_compare_and_exchange_val_acq (&mutex->__data.__lock,
-+	    while (atomic_compare_and_exchange_val_rel (&mutex->__data.__lock,
- 							ceilval | 2, ceilval)
- 		   != ceilval);
- 	  }

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series	2009-07-30 14:17:31 UTC (rev 3720)
+++ glibc-package/trunk/debian/patches/series	2009-07-30 21:00:54 UTC (rev 3721)
@@ -215,5 +215,4 @@
 any/cvs-sunrpc-license.diff
 any/submitted-tst-cpucount.diff
 any/cvs-getaddrinfo-nss-notfound.diff
-any/cvs-pthread_mutex_lock.diff
 any/cvs-signalfd-eventfd.diff


Reply to: