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

From: Balbir Singh
Date: Thu Apr 16 2009 - 08:15:03 EST


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

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