lkml.org 
[lkml]   [1996]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: do_mmap()


It makes sure that locked pages are in core (faulted in, if necessary) -
similar code is also in mm/mlock.c.

markhe

On Sat, 16 Nov 1996, David L. Oppenheimer wrote:
> Does anyone know what the purpose of this piece of code is? (It appears at the
> end of do_mmap() in mm/mmap.c)
> if (flags & VM_LOCKED) {
> unsigned long start = addr;
> mm->locked_vm += len >> PAGE_SHIFT;
> [...cut...]
> }

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