Re: [patch 0/4] memcg: operate on page quantities internally

From: Johannes Weiner
Date: Thu Feb 10 2011 - 07:43:11 EST


On Thu, Feb 10, 2011 at 08:50:34AM +0900, KAMEZAWA Hiroyuki wrote:
> On Wed, 9 Feb 2011 12:01:49 +0100
> Johannes Weiner <hannes@xxxxxxxxxxx> wrote:
> > If I did not miss anything, this should leave only res_counter and
> > user-visible stuff in bytes. The ABI probably won't change, so next
> > up is converting res_counter to operate on page quantities.
>
> Hmm, I think this should be done but think this should be postphoned, too.
> Because, IIUC, some guys will try to discuss charging against kernel objects
> in the next mm-summit. IMHO, it will be done against PAGE not against
> Object even if we do kernel object accouting. So this patch is okay for me.
> But I think it's better to go ahead after we confirm the way we go.
> How do you think ?

That makes sense, let's leave res_counter alone until we have hashed
this out.

> Anyway, I welcome this patch.

Thanks for reviewing,

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