Re: [patch 05/19] split LRU lists into anon & file sets

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Rik van Riel <riel@...>
Cc: <linux-kernel@...>, <linux-mm@...>, Lee Schermerhorn <Lee.Schermerhorn@...>, balbir@linux.vnet.ibm.com <balbir@...>
Date: Wednesday, January 9, 2008 - 12:41 am

I like this patch set thank you.

On Tue, 08 Jan 2008 15:59:44 -0500
Rik van Riel <riel@redhat.com> wrote:
<snip>


Now, we don't have control_type and a feature for accounting only CACHE.
Balbir-san, do you have some new plan ?

BTW, is it better to use PageSwapBacked(pc->page) rather than adding a new flag
PAGE_CGROUP_FLAG_FILE ?


PAGE_CGROUP_FLAG_ACTIVE is used because global reclaim can change
ACTIVE/INACTIVE attribute without accessing memory cgroup.
(Then, we cannot trust PageActive(pc->page))

ANON <-> FILE attribute can be changed dinamically (after added to LRU) ?

If no, using page_file_cache(pc->page) will be easy.

Thanks,
-Kame

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

Messages in current thread:
Re: [patch 05/19] split LRU lists into anon &amp; file sets, KOSAKI Motohiro, (Tue Jan 29, 11:25 pm)
Re: [patch 05/19] split LRU lists into anon &amp; file sets, KOSAKI Motohiro, (Wed Jan 30, 4:57 am)
Re: [patch 05/19] split LRU lists into anon &amp; file sets, Lee Schermerhorn, (Wed Jan 30, 10:29 am)
Re: [patch 05/19] split LRU lists into anon &amp; file sets, KOSAKI Motohiro, (Wed Jan 30, 9:17 pm)
Re: [patch 05/19] split LRU lists into anon &amp; file sets, KOSAKI Motohiro, (Thu Jan 31, 6:59 am)
Re: [patch 05/19] split LRU lists into anon &amp; file sets, KOSAKI Motohiro, (Fri Jan 11, 3:35 am)
Re: [patch 05/19] split LRU lists into anon &amp; file sets, KOSAKI Motohiro, (Mon Jan 14, 7:57 pm)
Re: [patch 05/19] split LRU lists into anon &amp; file sets, KOSAKI Motohiro, (Fri Jan 11, 2:24 am)
Re: [patch 05/19] split LRU lists into anon &amp; file sets, Lee Schermerhorn, (Fri Jan 11, 11:50 am)
Re: [patch 05/19] split LRU lists into anon &amp; file sets, Lee Schermerhorn, (Fri Jan 11, 11:59 am)
Re: [patch 05/19] split LRU lists into anon &amp; file sets, Lee Schermerhorn, (Fri Jan 11, 3:51 pm)
Re: [patch 05/19] split LRU lists into anon &amp; file sets, KOSAKI Motohiro, (Thu Jan 10, 11:59 pm)
Re: [patch 05/19] split LRU lists into anon &amp; file sets, KAMEZAWA Hiroyuki, (Wed Jan 9, 10:28 pm)
Re: [patch 05/19] split LRU lists into anon & file sets, KAMEZAWA Hiroyuki, (Wed Jan 9, 12:41 am)
Re: [patch 05/19] split LRU lists into anon &amp; file sets, KAMEZAWA Hiroyuki, (Wed Jan 9, 10:36 pm)
Re: [patch 05/19] split LRU lists into anon &amp; file sets, KAMEZAWA Hiroyuki, (Thu Jan 10, 12:23 am)
Re: [patch 05/19] split LRU lists into anon &amp; file sets, Christoph Lameter, (Tue Jan 8, 6:22 pm)
Re: [patch 05/19] split LRU lists into anon &amp; file sets, Christoph Lameter, (Tue Jan 8, 6:42 pm)