[lkml]   [2000]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: about /proc/meminfo and mmap

On Sat, 21 Oct 2000, Zhixu Liu wrote:
> >
> > man 2 mlock
> >
> After I use mlock, how can I know the memory I malloced is in RAM? Thanks.
man 2 mlock


... All pages which contain part of the specified memory range are
guaranteed be resident in RAM when the mlock system call returns
successfully and they are guaranteed to stay in RAM until the pages
are unlocked by munlock or munlockall, or until the process terminates
or starts another program with exec. ...

Brian F. G. Bidulock
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:41    [W:0.049 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site