[or-cvs] r14073: And use 16k pages on ia64. Maybe this should be a configure (in tor/trunk: . src/common)

weasel at seul.org weasel at seul.org
Mon Mar 17 09:46:18 UTC 2008


Author: weasel
Date: 2008-03-17 05:46:18 -0400 (Mon, 17 Mar 2008)
New Revision: 14073

Modified:
   tor/trunk/ChangeLog
   tor/trunk/src/common/OpenBSD_malloc_Linux.c
Log:
And use 16k pages on ia64.  Maybe this should be a configure thing


Modified: tor/trunk/ChangeLog
===================================================================
--- tor/trunk/ChangeLog	2008-03-17 04:11:05 UTC (rev 14072)
+++ tor/trunk/ChangeLog	2008-03-17 09:46:18 UTC (rev 14073)
@@ -24,8 +24,8 @@
     - Use proper log levels in the testsuite call of get_interface_address6().
     - When using a nonstandard malloc, do not use the platform values for
       HAVE_MALLOC_GOOD_SIZE or HAVE_MALLOC_USABLE_SIZE.
-    - Make the openbsd malloc code use 8k pages on alpha CPUs.  Bugfix on
-      0.2.0.x.
+    - Make the openbsd malloc code use 8k pages on alpha CPUs and 16k pages
+      on ia64.  Bugfix on 0.2.0.x.
     - Detect mismatched page sizes when using --enable-openbsd-malloc.
       Bugfix on 0.2.0.x.
     - Stop giving double-close warn when we reject an address for client DNS.

Modified: tor/trunk/src/common/OpenBSD_malloc_Linux.c
===================================================================
--- tor/trunk/src/common/OpenBSD_malloc_Linux.c	2008-03-17 04:11:05 UTC (rev 14072)
+++ tor/trunk/src/common/OpenBSD_malloc_Linux.c	2008-03-17 09:46:18 UTC (rev 14073)
@@ -98,7 +98,10 @@
 
 #if defined(__sparc__) || defined(__alpha__)
 #define	malloc_pageshift	13U
-#endif /* __sparc__ */
+#endif
+#if defined(__ia64__)
+#define	malloc_pageshift	14U
+#endif
 
 #ifndef malloc_pageshift
 #define malloc_pageshift	(PGSHIFT)



More information about the tor-commits mailing list