Closed
Bug 851859
Opened 12 years ago
Closed 12 years ago
debug builds on ppc64 abort at runtime with "Compile-time page size does not divide the runtime one."
Categories
(Core :: Memory Allocator, defect)
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: stevensn, Assigned: stevensn)
Details
Attachments
(1 file, 1 obsolete file)
Debug builds on ppc64 are giving me runtime aborts with "Compile-time page size does not divide the runtime one."
On PPC64 sysconf reports _SC_PAGESIZE as 65536
| Assignee | ||
Comment 1•12 years ago
|
||
This patch will use a different pagesize as required. These values are based on what is being done in HeapAPI.h
| Assignee | ||
Updated•12 years ago
|
Attachment #725837 -
Flags: review?(justin.lebar+bug)
Comment 2•12 years ago
|
||
Comment on attachment 725837 [details] [diff] [review]
adjust the static pagesizes based on the architecture
Thanks for your patch!
r=me, but could you please add a comment indicating where you copied these ifdefs from?
Also, this is a nit, but we usually format checkin comments as
Bug XXX - Starting with capital letter
or
But XXX: Starting with capital letter
Something like
Bug 851859 - Set jemalloc's page size based on the architecture instead of assuming it's always 4kb, r=jlebar
would be good.
Another nit that doesn't matter here is that we always attach -U8 patches.
If you don't mind attaching another patch here we can get this into the tree for you.
Attachment #725837 -
Flags: review?(justin.lebar+bug) → review+
| Assignee | ||
Comment 3•12 years ago
|
||
Here is an updated patch in -u8 format with improved comments
Attachment #725837 -
Attachment is obsolete: true
| Assignee | ||
Updated•12 years ago
|
Attachment #725983 -
Flags: checkin?
Updated•12 years ago
|
Attachment #725983 -
Flags: checkin?
Comment 4•12 years ago
|
||
Assignee: nobody → steve
Flags: in-testsuite-
Comment 5•12 years ago
|
||
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Comment 6•12 years ago
|
||
Hey, I just stumbled onto this, and unfortunately, the page size on ppc64 isn't fixed. There is a kernel config that can set the page size to 4k or 64k at compile time.
Comment 7•12 years ago
|
||
(In reply to Marty Rosenberg [:mjrosenb] from comment #6)
> Hey, I just stumbled onto this, and unfortunately, the page size on ppc64
> isn't fixed. There is a kernel config that can set the page size to 4k or
> 64k at compile time.
I noted that in another bug, but i can't find it.
You need to log in
before you can comment on or make changes to this bug.
Description
•