lkml.org 
[lkml]   [2008]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [-mm] Make the memory controller more desktop responsive (v2)
On Fri, Apr 4, 2008 at 11:01 PM, KOSAKI Motohiro
<m-kosaki@ceres.dti.ne.jp> wrote:
> 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

sorry, I sent premature document.

Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>


\
 
 \ /
  Last update: 2008-04-04 16:05    [W:0.039 / U:2.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site