Commit 5714dad
committed
fix(aspacem): raise amd64 managed address ceiling to 1 TiB
snmalloc-rs as a global allocator aborts under Callgrind because its
startup mmap of a flat 256 GiB MAP_NORESERVE range returns EINVAL. On
amd64-linux the address-space manager capped the managed range at 128
GiB, placing vStart (the client/Valgrind split) at ~64 GiB, so the
largest floating client hole was ~62 GiB and any larger reservation was
vetoed by VG_(am_get_advisory).
Raise aspacem_maxAddr to 1 TiB (vStart ~512 GiB, ~512 GiB client hole),
scoped to VGP_amd64_linux so other 64-bit ports keep 128 GiB (some arm64
kernels expose only a 39-bit user VA). No effect on Callgrind placement
semantics; the fork ships only the 64-bit Callgrind tool.
Refs COD-30731 parent ce9d871 commit 5714dad
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1862 | 1862 | | |
1863 | 1863 | | |
1864 | 1864 | | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
| 1869 | + | |
| 1870 | + | |
| 1871 | + | |
| 1872 | + | |
| 1873 | + | |
1865 | 1874 | | |
| 1875 | + | |
1866 | 1876 | | |
1867 | 1877 | | |
1868 | 1878 | | |
| |||
0 commit comments