On Fri, Aug 8, 2008 at 10:51 AM, Hugh Dickins <hugh@veritas.com> wrote:
great at least one thing I understood from the kernel mm internals ;)
I think it might be the second reason since the page is not directly
added to the LRU
but to a pagevec structure since the term 'cache'. But IMHO if so,
it's just confusing and
lru_cache_add_active() shouldn't contain implemantation details in its name.
well, it's just that I got confusing when reading the code for the
first time. I really have hard
time to understand it...
Yes and this is what confused me: lru_cache_add_active() does call
page_cache_get()
for anymous pages, hence my question.
Thanks !
--
Francis
--