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: Chris Pressey <cpressey@xxxxxxxxxxxxxxx>
Date: Tue, 22 Feb 2005 17:18:37 -0800

On Tue, 22 Feb 2005 19:08:17 -0500
Dan Melomedman <dan@xxxxxxxxxxxxxxxx> wrote:

> Finally, is mlock portable?

It appears to be part of IEEE 1003.1 (REALTIME), aka POSIX, which says:

"The mlock() function shall cause those whole pages containing any part
of the address space of the process starting at address addr and
continuing for len bytes to be memory-resident until unlocked or until
the process exits or execs another process image. [...] Memory residency
of unlocked pages is unspecified."

-Chris



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