rpms/glibc/devel glibc-kaio-private-futex.patch, NONE, 1.1 glibc.spec, 1.311, 1.312

Jakub Jelinek (jakub) fedora-extras-commits at redhat.com
Wed Aug 1 10:31:21 UTC 2007


Author: jakub

Update of /cvs/pkgs/rpms/glibc/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1593

Modified Files:
	glibc.spec 
Added Files:
	glibc-kaio-private-futex.patch 
Log Message:
2.6.90-1

glibc-kaio-private-futex.patch:

--- NEW FILE glibc-kaio-private-futex.patch ---
2007-08-01  Jakub Jelinek  <jakub at redhat.com>

	* sysdeps/unix/sysv/linux/kaio_misc.h (AIO_MISC_NOTIFY,
	AIO_MISC_WAIT): Add LLL_PRIVATE as last argument to lll_futex_*wait.

--- libc/rtkaio/sysdeps/unix/sysv/linux/kaio_misc.h	2006-09-07 12:36:11.000000000 +0200
+++ libc/rtkaio/sysdeps/unix/sysv/linux/kaio_misc.h	2007-08-01 12:21:31.000000000 +0200
@@ -55,7 +55,7 @@
 # define AIO_MISC_NOTIFY(waitlist) \
   do {									      \
     if (*waitlist->counterp > 0 && --*waitlist->counterp == 0)		      \
-      lll_futex_wake (waitlist->counterp, 1);				      \
+      lll_futex_wake (waitlist->counterp, 1, LLL_PRIVATE);		      \
   } while (0)
 
 # define AIO_MISC_WAIT(result, futex, timeout, cancel)			      \
@@ -74,7 +74,8 @@
 	int status;							      \
 	do								      \
 	  {								      \
-	    status = lll_futex_timed_wait (futexaddr, oldval, timeout);	      \
+	    status = lll_futex_timed_wait (futexaddr, oldval, timeout,	      \
+					   LLL_PRIVATE);		      \
 	    if (status != -EWOULDBLOCK)					      \
 	      break;							      \
 									      \


Index: glibc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/glibc/devel/glibc.spec,v
retrieving revision 1.311
retrieving revision 1.312
diff -u -r1.311 -r1.312
--- glibc.spec	31 Jul 2007 19:42:13 -0000	1.311
+++ glibc.spec	1 Aug 2007 10:30:49 -0000	1.312
@@ -41,6 +41,7 @@
 Patch4: glibc-ldconfig-speedup.patch
 Patch5: glibc-private-futex.patch
 Patch6: glibc-fallocate.patch
+Patch7: glibc-kaio-private-futex.patch
 Buildroot: %{_tmppath}/glibc-%{PACKAGE_VERSION}-root
 Obsoletes: zoneinfo, libc-static, libc-devel, libc-profile, libc-headers,
 Obsoletes: gencat, locale, ldconfig, locale-ja, glibc-profile
@@ -257,6 +258,7 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 # Hack till glibc-kernheaders get updated, argh
 mkdir -p override_headers/linux




More information about the scm-commits mailing list