This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

LDTs and Linux 2.4.x



As reported on several mailing lists and also in PR libc/2469, the LDT
based thread implementation does not work with some 2.4.x kernel.
This bug is fixed in 2.4.8 and we should therefore adjust the
ASSUME_LDT_WORKS flag.

Ok to commit?

Andreas

2001-08-13  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
	Since Linux 2.4.8 contains an important bugfix for LDTs, we should
	use LDTs only with 2.4.8 or newer.

============================================================
Index: sysdeps/unix/sysv/linux/kernel-features.h
--- sysdeps/unix/sysv/linux/kernel-features.h	2001/07/06 04:56:12	1.29
+++ sysdeps/unix/sysv/linux/kernel-features.h	2001/08/13 11:30:13
@@ -127,8 +127,8 @@
 # define __ASSUME_IPC64			1
 #endif
 
-/* We can use the LDTs for threading with Linux 2.3.99 and newer.  */
-#if __LINUX_KERNEL_VERSION >= 131939
+/* We can use the LDTs for threading with Linux 2.4.8 and newer.  */
+#if __LINUX_KERNEL_VERSION >= 132104
 # define __ASSUME_LDT_WORKS		1
 #endif
 

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]