Re: locking pages in memory, mapping memory

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 26 Feb 1999 21:05:16 +0000 (GMT)


> 1. I would like to map a buffer from user address space to kernel address
> space, so that a user application can write data to this buffer
> and the kernel than can read this data WITHOUT having to copy
> it from user to kernel space (and vice versa)

You want to map a buffer in kernel address space into user address space,
same effect but its a whole lot easier, and they are implicitly locked

The sound drivers do exactly this for one example.

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