[pypy-dev] [pypy-svn] r68612 - pypy/trunk/pypy/rpython/lltypesystem

Maciej Fijalkowski fijall at gmail.com
Sat Oct 17 21:36:30 CEST 2009

> On Linux, to clear large regions of memory, the best way seems
> to be madvise(MADV_DONTNEED).  Indeed, the previous trick of
> reading /dev/zero does not seem to have the correct effect of
> lazily-allocating pages on all Linux systems (e.g. bigdog-vm1).
> Note that this usage of madvise() is purely Linux-specific.

Note that bigdogvm1 is a vm, it might behave differently...

More information about the Pypy-dev mailing list