Pravin, I think Pravin wants to know the Page Frame Number in memory management.(virtual<->physical conversion) But the function drop_pagecache_sb seems to be about the disk cache(file magement or block layer). Chan ________________________________ From : "Pranay Srivastava" <[email protected]> Sent : 2014-03-20 22:05:30 ( +09:00 ) To : pravin jadav <[email protected]> Cc : [email protected] <[email protected]> Subject : Re: how to get PFN of page cache?
On Mar 20, 2014 5:22 PM, "pravin jadav" <[email protected]<mailto:[email protected]>> wrote: > > 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. > See drop_pagecache_sb. What exactly you need?? I don't think you'll need to modify or access the memory defined by that page. So i guess you could do a lockless version when you iterate over pages. > -- > > pravin jadav > M.Tech (IT pursuing ) > > _______________________________________________ > Kernelnewbies mailing list > [email protected]<mailto:[email protected]> > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies >
_______________________________________________ Kernelnewbies mailing list [email protected] http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
