Re: Page Replacement in 2.6.10

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

 



On Wed, 2 Mar 2005, Rahul Iyer wrote:

> I think i worded it wrong... There is only 1 page cache. It's structure 
> and replacement policy could be chosen at boot time. For example, you 
> could select kernel boot time argument, say page_cache, as 
> page_cache=LRU and the page cache would follow an LRU based replacement 
> scheme. Or maybe page_cache=CART and you'd have CART instead.

That would work, but you would instead need to replace
try_to_free_pages and friends, not the functions you
gave.

-- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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