DragonFly BSD
DragonFly kernel List (threaded) for 2005-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: phk malloc, was (Re: ptmalloc2)


From: Dan Melomedman <dan@xxxxxxxxxxxxxxxx>
Date: Tue, 22 Feb 2005 20:43:51 -0500
Mail-followup-to: kernel@crater.dragonflybsd.org

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?



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]