How to mmap pages allocated by get_free_page

Stephen Williams (steve@icarus.icarus.com)
Tue, 18 Nov 1997 12:26:44 +0000


OK, This is the URL for a sample module that implements the mmap
device entry point in order to share pages of host memory with a
process. It took a lot of digging to figure out how to do this
reliably, so start here before trying to figure it out for yourself:-)

ftp://ftp.picturel.com/pub/source/mmap.tgz

I've only tested it on Linux/Intel. It is heavily commented to explain
what I think is going on each step of the way.

Comments, corrections welcome.

-- 
Steve Williams
steve@icarus.com
steve@picturel.com

"The woods are lovely, dark and deep. But I have promises to keep, And lines to code before I sleep, And lines to code before I sleep."