mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
backport: And use 16k pages on ia64.
svn:r14074
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user