Re: [PATCH 3/3][RFC] Containers: Pagecache controller reclaim

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Vaidyanathan Srinivasan
Date: Tuesday, March 27, 2007 - 12:17 am

Aubrey Li wrote:

Correct, shrink_page_list() is called from shrink_inactive_list() but
the above code is patched in shrink_active_list().  The
'force_reclaim_mapped' label is from function shrink_active_list() and
not in shrink_page_list() as it may seem in the patch file.

While removing pages from active_list, we want to select only
pagecache pages and leave the remaining in the active_list.
page_mapped() pages are _not_ of interest to pagecache controller
(they will be taken care by rss controller) and hence we put it back.
 Also if the pagecache controller is below limit, no need to reclaim
so we put back all pages and come out.

--Vaidy
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/3][RFC] Containers: Pagecache accounting and cont ..., Vaidyanathan Srinivasan, (Tue Mar 6, 1:23 am)
[PATCH 1/3][RFC] Containers: Pagecache controller setup, Vaidyanathan Srinivasan, (Tue Mar 6, 1:26 am)
Re: [PATCH 2/3][RFC] Containers: Pagecache controller acco ..., Vaidyanathan Srinivasan, (Tue Mar 6, 1:28 am)
[PATCH 3/3][RFC] Containers: Pagecache controller reclaim, Vaidyanathan Srinivasan, (Tue Mar 6, 1:29 am)
Re: [PATCH 3/3][RFC] Containers: Pagecache controller reclaim, Vaidyanathan Srinivasan, (Tue Mar 27, 12:17 am)
Re: [PATCH 3/3][RFC] Containers: Pagecache controller reclaim, Vaidyanathan Srinivasan, (Tue Mar 27, 2:44 am)
Re: [PATCH 3/3][RFC] Containers: Pagecache controller reclaim, Vaidyanathan Srinivasan, (Tue Mar 27, 5:25 am)