memory mapping from user space to kernel space

Greg KH greg at kroah.com
Sat Sep 19 09:40:00 EDT 2020


On Sat, Sep 19, 2020 at 09:45:33PM +0900, JeongHwan Kim wrote:
> Hi, everyone
> 
> 
> The memory mapping from memory allocated in kernel space to user space is
> possible
> 
> to use mmap, but is it possible to map memory allocated in user space to
> kernel?

It is possible, but very messy and difficult, and strongly discouraged
when ever possible.  What exactly are you trying to do?

thanks,

greg k-h



More information about the Kernelnewbies mailing list