lkml.org 
[lkml]   [1999]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: pinning down user memory...
Hi,

On Thu, 23 Sep 1999 15:44:20 -0700, "Raj, Ashok" <ashok.raj@intel.com>
said:

> anyone in the list has had requirement to pin user memory pages down
> in linux? i have had other ways in solaris/nt to do this. but have not
> known the right way to lock pages down under linux.

What for? From user space, mlock() fits the bill. If you want to pin
pages for a driver, either allocate the pages from kernel space and mmap
them into user space, or (in 2.3) the kiobuf mechanism can map and pin
an arbitrary range of user pages temporarily.

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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