I was trying to understand the page replacement code on kernel 2.6.10. I was looking at the code for kswapd and from what i gather, it seems like kswapd is woken up only in low memory situations... am i right? Also, is it true that there is no kernel thread that ages the pages (struct page has no page->age field). I have gone through documentation for the linux kernel MM and Mel Gorman's seems to be the closest to it. I have also read Rik's doc on Page replacement in the 2.4 kernel, which talks of page aging. These 2 seem to contradict... :(
All in all, i'm buried in documentation and conflicting code... oh save me!!!! :D
Thanks in Advance Rahul
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/