Hi :) On Wed, Feb 8, 2012 at 13:24, Zheng Da <zhengda1936@xxxxxxxxx> wrote: > Please read do_generic_file_read(). If a page doesn't exist in the page > cache, it will load the page and add it to the page cache. In the same > iteration of the for loop, mark_page_accessed() is called to mark it > referenced. > > So UTLK isn't wrong. It's just a little misleading. Looks like you're correct. UTLK is based on old version of linux kernel, so quite likely the current kernel release update the way it does page replacement. Like I said, it is dated :) -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies