Virtual and physical page address

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

 



Hello everyone,

I am attempting to dump the page table of a process in terms of virtual addresses and the corresponding physical addresses. I am looking for information whether the pointers I am using are correct for this purpose:

1. Can I say that pte_page(pte_t) returns the virtual address of the page that the PTE points at?

2. can I say that page_to_phys(struct page) returns the physical address of that same entry?

Thank you,
Mohammad
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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