mmap fails to allocate 2030Mb heap on ARM
Bug #861296 reported by
Xerxes Rånby
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Toolchain Miscellanies |
Invalid
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Lucid |
Invalid
|
Undecided
|
Unassigned | ||
Maverick |
Fix Released
|
Undecided
|
Unassigned | ||
Natty |
Fix Released
|
Undecided
|
Unassigned | ||
Oneiric |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Unassigned | ||
linux-ac100 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Oneiric |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned | ||
linux-fsl-imx51 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Lucid |
Fix Released
|
Undecided
|
Unassigned | ||
Maverick |
Invalid
|
Undecided
|
Unassigned | ||
Natty |
Invalid
|
Undecided
|
Unassigned | ||
Oneiric |
Invalid
|
Undecided
|
Unassigned | ||
Precise |
Invalid
|
Undecided
|
Unassigned | ||
linux-ti-omap4 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Lucid |
Invalid
|
Undecided
|
Unassigned | ||
Maverick |
Fix Released
|
Undecided
|
Unassigned | ||
Natty |
Fix Released
|
Undecided
|
Unassigned | ||
Oneiric |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The attached testcase pass on ia32 but fails on armel systems running oneiric.
test system got 512mb of ram and 3Gb of swap.
gcc mmap-test.c -o mmap-test
./mmap-test
on my pandaboard I hit Couldn't allocate the heap: 2025Mb
on my ac100 I hit Couldn't allocate the heap: 2027Mb
The testcase fails to allocate heap on armel in the range of 2023-2030Mb and above.
Related branches
tags: | added: arm-porting-queue |
affects: | eglibc (Ubuntu) → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in linux (Ubuntu Lucid): | |
status: | New → Confirmed |
Changed in linux (Ubuntu Natty): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Oneiric): | |
status: | Confirmed → Fix Committed |
Changed in linux (Ubuntu Maverick): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Lucid): | |
status: | Confirmed → Invalid |
Changed in linux (Ubuntu Maverick): | |
status: | Fix Committed → Invalid |
Changed in linux (Ubuntu Natty): | |
status: | Fix Committed → Fix Released |
Changed in linux (Ubuntu Oneiric): | |
status: | Fix Committed → Fix Released |
Changed in linux-fsl-imx51 (Ubuntu Lucid): | |
status: | New → Fix Committed |
Changed in linux-fsl-imx51 (Ubuntu Maverick): | |
status: | New → Invalid |
Changed in linux-fsl-imx51 (Ubuntu Natty): | |
status: | New → Invalid |
Changed in linux-fsl-imx51 (Ubuntu Oneiric): | |
status: | New → Invalid |
Changed in linux-ti-omap4 (Ubuntu Lucid): | |
status: | New → Invalid |
Changed in linux-ti-omap4 (Ubuntu Maverick): | |
status: | New → Fix Committed |
Changed in linux-ti-omap4 (Ubuntu Natty): | |
status: | New → Fix Committed |
Changed in linux-ti-omap4 (Ubuntu Oneiric): | |
status: | New → Fix Committed |
Changed in linaro-toolchain-misc: | |
status: | New → Invalid |
Changed in linux (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in linux (Ubuntu Precise): | |
status: | Invalid → Fix Released |
Changed in linux-fsl-imx51 (Ubuntu Precise): | |
status: | New → Invalid |
Changed in linux-ti-omap4 (Ubuntu Precise): | |
status: | New → Fix Released |
no longer affects: | linux-ac100 (Ubuntu Lucid) |
no longer affects: | linux-ac100 (Ubuntu Maverick) |
no longer affects: | linux-ac100 (Ubuntu Natty) |
Changed in linux-ac100 (Ubuntu Precise): | |
status: | New → Fix Released |
Changed in linux-ac100 (Ubuntu Precise): | |
status: | Fix Released → Confirmed |
Changed in linux-ac100 (Ubuntu Oneiric): | |
status: | New → Confirmed |
tags: | added: rls-mgr-p-tracking |
Changed in linux-ac100 (Ubuntu Precise): | |
status: | Confirmed → Fix Released |
Changed in linux (Ubuntu Maverick): | |
status: | Invalid → Fix Committed |
Changed in linux (Ubuntu Natty): | |
status: | Fix Released → Fix Committed |
Changed in linux (Ubuntu Oneiric): | |
status: | Fix Released → Fix Committed |
To post a comment you must log in.
This is an artefact of a different in where the libraries are mapped on the two architectures.
On ARM we have;
<--- - ~1GB
<--- - ~3GB
executable
heap
libs
stack
So there isn't one big 2GB chunk to allocate.
On x86 they have:
<--- ~3GB
executable
heap
libs
I don't know why ARM does it this way however and whether it's changeable.
Dave