phk malloc, was (Re: ptmalloc2)

Dan Melomedman dan at a.mx.devonit.com
Tue Feb 22 17:47:05 PST 2005


Jonathan Dama wrote:
> If you put 'Z' into your malloc option strings, malloc will
> touch all of the allocated pages for you.

Will this cause malloc to guarantee that it, or the OS will actually
make the requested amount of physical memory available to such a process,
and never give them back to the OS as long as the process is reusing
that memory, and not calling any allocation functions after this memory
is preallocated?





More information about the Kernel mailing list