Rajat Jain wrote:
Hi, This is in context of mapping of virtual addresses to physical addresses by the MMU. I read that the virtual address is taken through the three level page tables to finally arrive at a struct page. But how to find the physical address of this page?
1) page tables point directly at the physical address 2) if you have a struct page, you can call page_to_phys -- "You don't have to be crazy to do this... but it helps." -- Bob Ross -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/