Hi
Go though the vmscan.c file under mm directory. clear & clean documentation would not be there on net. u will have to browse code. function to start with would be shrink_all_memory(). There will be different functions written to reclaim pages from different objects like dentry_cache, slab, inactive,active list. if u make callgraphs while browsing then code is easy to understand.
Thanks,
Mahaveer
--
---------------------------
Thanks & Regards,
Mahaveer Darade
mah.darade@xxxxxxxxx
Mobile - 9970365267
--- Dream it , Code it.
Go though the vmscan.c file under mm directory. clear & clean documentation would not be there on net. u will have to browse code. function to start with would be shrink_all_memory(). There will be different functions written to reclaim pages from different objects like dentry_cache, slab, inactive,active list. if u make callgraphs while browsing then code is easy to understand.
Thanks,
Mahaveer
On Tue, Oct 7, 2008 at 3:28 PM, Sukanto Ghosh <sukanto.cse.iitb@xxxxxxxxx> wrote:
Hi,
Can someone tell me where (path) can i find the page replacement code
in current linux version ?
Also, any document that explains the current algorithm in detail ?
--
Regards,
Sukanto Ghosh
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ
--
---------------------------
Thanks & Regards,
Mahaveer Darade
mah.darade@xxxxxxxxx
Mobile - 9970365267
--- Dream it , Code it.