Evicting Anonymous pages.

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

 



Hello everyone,
  I am trying to understand the kernel page frame reclaiming
mechanism, but one thing's bothering me:
How does the kernel 'know' which anonymous pages to evict? In the LRU
scheme,  'referenced/used' information for each page is required
(AFAIK). But anonymous pages can be used by user processes 'at any
time' without the kernel knowing about it.

   Am i missing something? Or does the kernel just drop some random
anon pages of a process? Is there a way to obtain the 'referenced'
information about anonymous pages as well?

Thanks,
Prateek

_______________________________________________
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