Re: question about do_anonymous_page()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Francis Moreau
Date: Friday, August 8, 2008 - 2:22 am

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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
question about do_anonymous_page(), Francis Moreau, (Fri Aug 8, 1:01 am)
Re: question about do_anonymous_page(), Francis Moreau, (Fri Aug 8, 1:23 am)
Re: question about do_anonymous_page(), Hugh Dickins, (Fri Aug 8, 1:51 am)
Re: question about do_anonymous_page(), Francis Moreau, (Fri Aug 8, 2:22 am)