Re: pinning down user memory...

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 23 Sep 1999 23:53:23 +0100 (BST)


> 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/