And use 16k pages on ia64. Maybe this should be a configure thing

svn:r14073
This commit is contained in:
Peter Palfrader
2008-03-17 09:46:18 +00:00
parent 2ed4b818cb
commit 0cccf7375b
2 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -98,7 +98,10 @@ static pthread_mutex_t gen_mutex = PTHREAD_MUTEX_INITIALIZER;
#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)