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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: KAMEZAWA Hiroyuki
Date: Tuesday, January 8, 2008 - 9:41 pm

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