Re: max-heap setting for 64-bit applications

Florian Weimer <[email protected]>
Newsgroups gmane.comp.lang.ml.mlton.devel
Message-ID <[email protected]>
* Matthew Fluet:

> (Or, on Windows, use the reserve/commit distinction.

It's there on Linx, too.

> On Posix, use the madvise to preemptively indicate page-out/page-in
> behavior.

Doesn't work.  You have to map with PROT_NONE and then use mprotect to
make available the parts you need.

This is not a published kernel ABI, so it might break in the future.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.