da0a8cbb4ac39570584ddf4f4708d6b45cea08b8 |
|
17-Jun-2015 |
philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
324181 mmap does not handle MAP_32BIT (handle it now, rather than fail it) 324181 was previously closed with a solution to always make MAP_32BIT fail. This is technically correct/according to the doc, but is not very usable. This patch ensures that MAP_32BIT mmap is succesful, as long as aspacemgr gives a range in the first 2GB (so, compared to a native run, MAP_32BIT will fail much more quickly as aspacemgr does not reserve the address space below 2GB on a 64 bits). Far to be perfect, but this is better than nothing. Added a regression test that test succesful mmap 32 bits till the 2GB limit is reached. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15341 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/none/tests/amd64-linux/map_32bits.c
|