Re: VM: Bizzare MM tricks...

From: Manfred Spraul (manfreds@colorfullife.com)
Date: Wed Apr 26 2000 - 16:09:27 EST


jmcmullan@linuxcare.com wrote:
>
> I'm working on a port of a driver from NT to Linux, and was
> wondering how to best go about mapping kernel memory to
> user space and vice versa. mmap(2) is a possibility, but would
> require a vast rework of the code, and break the ability of
> the customer to use their existing code base in NT/95.
>
What's the problem with mmap?
You could also call do_mmap() from within your ioctl, but I don't why
you want to do that. (it seems to be a one line change in the user space
app)

--
	Manfred

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



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:11 EST