Messages in this thread | | | Date | Sun, 29 Jun 2008 17:19:31 +0900 | From | KOSAKI Motohiro <> | Subject | Re: [PATCH] splitlru: memcg swapbacked pages active |
| |
> add_to_page_cache_lru puts PageSwapBacked pages on the active_anon lru, > so shouldn't mem_cgroup_charge_common mirror that by setting FLAG_ACTIVE? > > Signed-off-by: Hugh Dickins <hugh@veritas.com>
I don't think so.
in global lru, active vs inactive anon ratio is controlled by inactive_anon_is_low(). but memcg doesn't have any sililar things.
thus, this patch increase active anon. and too many active page cause decrease reclaim throuput.
yes, We should implement SEQ replacement reclaim (like global reclaim) for memcg. I'm working on this.
| |