Hi,
I'm working on a project where the page cache will be populated with pages that probably won't be accessed again in the near future. At least, I guess that the chances of a new access to these pages is smaller than from most of the pages in the cache. Is there a way to 'rank' the probability of a new access to pages in the page cache other than the lru list? Or may I control the position where the pages are added to the lru?
Hope I managed to make myself clear... I want these pages to stay in the cache for a little while, but I'd be happy if they don't compromise the system's performance causing extra major page faults because they stayed in the cache for too long in the place of 'more important' pages.
TIA, Luciano
-- Luciano A. Stertz luciano@tteng.com.br T&T Engenheiros Associados Ltda http://www.tteng.com.br Fone/Fax (51) 3224 8425
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/