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 - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs