[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 4 Apr 2008 23:01:45 +0900
From: "KOSAKI Motohiro" <m-kosaki@...es.dti.ne.jp>
To: "Balbir Singh" <balbir@...ux.vnet.ibm.com>
Cc: "Andrew Morton" <akpm@...ux-foundation.org>,
"YAMAMOTO Takashi" <yamamoto@...inux.co.jp>,
"Paul Menage" <menage@...gle.com>, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, "Pavel Emelianov" <xemul@...nvz.org>,
"KAMEZAWA Hiroyuki" <kamezawa.hiroyu@...fujitsu.com>
Subject: Re: [-mm] Make the memory controller more desktop responsive (v2)
Hi
> @@ -612,7 +611,7 @@ retry:
> pc->page = page;
> pc->flags = PAGE_CGROUP_FLAG_ACTIVE;
> if (ctype == MEM_CGROUP_CHARGE_TYPE_CACHE)
> - pc->flags |= PAGE_CGROUP_FLAG_CACHE;
> + pc->flags = PAGE_CGROUP_FLAG_CACHE;
>
> lock_page_cgroup(page);
> if (page_get_page_cgroup(page)) {
Yes.
in general, cache page create as cold page.
if not, large file copy or streaming file drop all cache easily.
Reviewd-by: KOSAKI
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists