Re: Question on memory mapping

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Feb 07 2000 - 17:32:01 EST


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



This archive was generated by hypermail 2b29 : Mon Feb 07 2000 - 21:00:15 EST