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

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

DESCRIPTION

... 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
bidulock@openswitch.org
http://www.openss7.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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