virt_to_page() is only for kernel adress right?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'd like to have a confirmation (or not)

The function (macro) virt_to_page() only works for kernel virtual adress because
there is a translation between kernel space and physical adress right? 
For virtual adress in user space, Linux uses the three levels of the page tables
(I mean pgd gives a pointer to pmd which gives a pointer to pte and the offset
gives a physical adress). Am I right with this view?

Thank for your help
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux