This is the mail archive of the 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]

ia64 pagesize patch


In order to get rid of the call to the getpagesize system call on ia64
I'd like to apply this patch. The only question is whether it would make
more sense to default to the maximum allowable page size for the


2000-12-19  Jes Sorensen  <>

	* sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize): Set
	default page size to 8KB for the case where AT_PAGESZ doesn't
	provide the information.

diff -urN -X /home/jes/exclude-libc /home/jes/cygnus/libc-2.2/sysdeps/unix/sysv/linux/ia64/getpagesize.c libc-2.2/sysdeps/unix/sysv/linux/ia64/getpagesize.c
--- /home/jes/cygnus/libc-2.2/sysdeps/unix/sysv/linux/ia64/getpagesize.c	Wed Jun 21 00:16:35 2000
+++ libc-2.2/sysdeps/unix/sysv/linux/ia64/getpagesize.c	Tue Dec 19 14:23:34 2000
@@ -39,7 +39,7 @@
 __getpagesize ()
   if (_dl_pagesize == 0)
-    _dl_pagesize = INLINE_SYSCALL (getpagesize, 0);
+    _dl_pagesize = 8192;	/* reasonable default */
   return _dl_pagesize;

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