_pa/virt_to_phys and __va/phys_to_virt

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

 



Up to 896 MB, one can find the physical address of a
page just by substracting the PAGE_OFFSET from it. I
understand this is valid for static(initialized or
BSS) kernel variables loaded vith vmlinux file but I
am confused about other situations like allocating
memory in modules. Because the same physical memory
may be mapped by different virtual addresses during
the working of the kernel... Can someone shed light
one these situations...

Thanks in advance...

PS: I am not subscribed to the list. Please CC to my
e-mail address in the reply


		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

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