I'm trying to port some kernel code to Linux, and am
running into one problem. Some of the code has a need to lock
some pages from a user process into memory and then map that memory
into the kernel's address space. This way the kernel driver code
can access those pages directly, instead of through memcpy_from_user
and friends. Is this possible? I looked at remap_page_range, and
this seems sort of like what I need to do, but it doesn't seem to
want to remap user pages.
Can this be done? Or am I looking in the wrong direction?
I'd prefer a way to do this with Linux 2.0, but if this capability
is only availible in 2.1, that's better than nothing.
Thanks for your time.
Brian Kress
kressb@siemens-pyramid.com
-
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/