Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
MozillaFirefox.3830
mozilla-aarch64-4k-page-size.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mozilla-aarch64-4k-page-size.patch of Package MozillaFirefox.3830
# HG changeset patch # User Makoto Kato <m_kato@ga2.so-net.ne.jp> # Date 1459850082 -32400 # Node ID c111173a1b98ae219a1172cd7fb15dc8c629e2a2 # Parent 4bd11cbbfac79d278544a85987e0e83d9562583b Bug 1091515 - Don't set 64KB page size on aarch64. r=glandium Linux/aarch64 supports vairous page size configuration. (From https://www.kernel.org/doc/Documentation/arm64/memory.txt) - 4KB + 3 levels - 4KB + 4 levels - 64KB + 2 leves So we shouldn't set fixed 64KB page size on aarch64. MozReview-Commit-ID: 8IdwBMUW4me diff --git a/memory/mozjemalloc/jemalloc.c b/memory/mozjemalloc/jemalloc.c --- a/memory/mozjemalloc/jemalloc.c +++ b/memory/mozjemalloc/jemalloc.c @@ -1084,31 +1084,31 @@ static const bool config_recycle = true; static const bool config_recycle = false; #endif /* * When MALLOC_STATIC_SIZES is defined most of the parameters * controlling the malloc behavior are defined as compile-time constants * for best performance and cannot be altered at runtime. */ -#if !defined(__ia64__) && !defined(__sparc__) && !defined(__mips__) +#if !defined(__ia64__) && !defined(__sparc__) && !defined(__mips__) && !defined(__aarch64__) #define MALLOC_STATIC_SIZES 1 #endif #ifdef MALLOC_STATIC_SIZES /* * VM page size. It must divide the runtime CPU page size or the code * will abort. * Platform specific page size conditions copied from js/public/HeapAPI.h */ #if (defined(SOLARIS) || defined(__FreeBSD__)) && \ (defined(__sparc) || defined(__sparcv9) || defined(__ia64)) #define pagesize_2pow ((size_t) 13) -#elif defined(__powerpc64__) || defined(__aarch64__) +#elif defined(__powerpc64__) #define pagesize_2pow ((size_t) 16) #else #define pagesize_2pow ((size_t) 12) #endif #define pagesize ((size_t) 1 << pagesize_2pow) #define pagesize_mask (pagesize - 1) /* Various quantum-related settings. */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor