alan@lxorguk.ukuu.org.uk said:
> 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.
I also do this for fast scanner interface boards that we do. Works real
well, and has the additional advantage that funky alignment problems
do not occur.
(After all, you do not want to copy the JPEG of a 300DPI 9"x12" grayscale
image using copy_to_user if you can at all avoid it. Especially if you
get 4 of them every second.)
-- Steve Williams "The woods are lovely, dark and deep. steve@icarus.com But I have promises to keep, steve@picturel.com and lines to code before I sleep, http://www.picturel.com And lines to code before I sleep."
- 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/