<div dir="ltr">Hello everyone,<div><br></div><div>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:</div><div><br></div><div>1. Can I say that pte_page(pte_t) returns the virtual address of the page that the PTE points at?</div><div><br></div><div>2. can I say that page_to_phys(struct page) returns the physical address of that same entry?</div><div><br></div><div>Thank you,</div><div>Mohammad</div></div>