Re: [PATCH] Add file based RSS accounting for memory resourcecontroller (v2)

From: KAMEZAWA Hiroyuki
Date: Thu Apr 16 2009 - 19:59:10 EST


On Thu, 16 Apr 2009 17:44:07 +0530
Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx> wrote:

> * KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> [2009-04-16 16:40:36]:
>
> > 2. In above, "mem" shouldn't be got from "mm"....please get "mem" from page_cgroup.
> > (Because it's file cache, pc->mem_cgroup is not NULL always.)
> >
> > I saw this very easily.
> > ==
> > Cache: 4096
> > mapped_file: 20480
> > ==
> >
>
> May I ask how and what was expected?
>

Mapped_file <= Cache,

Thanks,
-Kame


> --
> Balbir
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/