There are some functions to probe (look into) the page tables (for current context.. maybe for all the conext too). look under /arch/x86(yours)/mm. This page table is in the memory so the S/W can probe it. But I don't think we can see whan page table entries we have in the page descriptor cache (that's stored by the MMU hardware). Chan
________________________________ From : "[email protected]" <[email protected]> Sent : 2014-03-21 03:49:36 ( +09:00 ) To : pravin jadav <[email protected]> Cc : [email protected] <[email protected]> Subject : Re: how to get PFN of page cache? On Thu, 20 Mar 2014 17:14:57 +0530, pravin jadav said: > i want to develop linux kernel module that will get PFN of pagecache pages. > please help me how to develop this kind of kernel module. What do you intend to do with the page once you find its PFN? It's quite possible there's already an API to do what you want without even needing its PFN - or good technical reasons to not do what your module intends to do once it has the PFN....
_______________________________________________ Kernelnewbies mailing list [email protected] http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
