Re: page replacement policy in the latest Linux kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux