lkml.org 
[lkml]   [1997]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectHow to mmap pages allocated by get_free_page
Date
From

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."



\
 
 \ /
  Last update: 2005-03-22 13:40    [from the cache]
©2003-2011 Jasper Spaans