backport: And use 16k pages on ia64.

svn:r14074
This commit is contained in:
Peter Palfrader 2008-03-17 09:46:32 +00:00
parent c33722b5c0
commit 7b3af83389
2 changed files with 6 additions and 2 deletions

View File

@ -32,7 +32,8 @@ Changes in version 0.2.0.22-rc - 2008-03-17
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.
- Make the openbsd malloc code use 8k pages on alpha CPUs and 16k pages
on ia64.
- Detect mismatched page sizes when using --enable-openbsd-malloc.
- Avoid double-marked-for-close warning when certain kinds of invalid
.in-addr.arpa addresses are passed to the DNSPort. Part of a fix

View File

@ -97,7 +97,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)