page replacement policy in the latest Linux kernel
Mulyadi Santosa
mulyadi.santosa at gmail.com
Wed Feb 8 12:08:48 EST 2012
Hi :)
On Wed, Feb 8, 2012 at 13:24, Zheng Da <zhengda1936 at gmail.com> 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
More information about the Kernelnewbies
mailing list