[pypy-dev] Problem with large allocation in test
Armin Rigo
arigo at tunes.org
Thu Apr 21 12:21:48 CEST 2011
Hi Vincent,
On Tue, Apr 19, 2011 at 2:02 PM, Vincent Legoll
<vincent.legoll at gmail.com> wrote:
> Wouldn't a big read only mmap from /dev/zero before the to be jumped
> adress allow for not really trying to allocate the big chunk of RAM ?
>
> That may be a good fix, still allowing the test for far jumps...
It's not needed; mmap() can optionally take a position argument,
allowing us to choose the position of the small pieces of requested
memory.
A bientôt,
Armin.
More information about the Pypy-dev
mailing list