Re: Question on memory mapping

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 7 Feb 2000 22:32:01 +0000 (GMT)


> Ultimately what I want to achieve is I want to map the user allocated
> memory to the kernel (sort of reverse operation done by mmap). So, after
> getting the physical address, will allocating a virtual page and mapping
> that virtual page to the physical page of the user address do the job? If
> not, how should I do the mapping?

By mmapping kerne memory into user space. Or with 2.3.x the kiovec stuff
provides the basis of what you need.

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