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
--