lkml.org 
[lkml]   [1999]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: pinning down user memory...
Date
From
> 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.

Normally you map kernel pages into user space for this. A simple example
is the dmaram driver in 2.3.18ac, or the sound drivers - which map a chunk
of kernel buffer into user space and give uses access to a buffer being used
for DMA.

2.3.x adds stuff for locking down page groups for direct I/O but that isn't
in standard 2.2 kernels



-
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.183 / U:0.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site