[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Single physical memory location has multiple virtual addresses?
Hi,
Suppose I have a kernel module that dynamically allocates memory (via
kmalloc) for user space. Now my doubt is whether this chunk of
physical memory would have two virtual addresses?
- One virtual address that will be used by kernel to refer to the
memory (the address returned by kmalloc)
- One virtual address as will be seen by the user space application?
Is my understanding correct?
Thanks,
Dan
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/