Re: [PATCH] [TRIVIAL] memcg: fix memory.memsw.usage_in_bytes forroot cgroup

From: Daisuke Nishimura
Date: Wed Dec 09 2009 - 20:31:18 EST


On Wed, 9 Dec 2009 16:21:09 -0800, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> On Thu, 10 Dec 2009 08:59:29 +0900
> KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote:
>
> > On Wed, 9 Dec 2009 17:48:58 +0200
> > "Kirill A. Shutemov" <kirill@xxxxxxxxxxxxx> wrote:
> >
> > > We really want to take MEM_CGROUP_STAT_SWAPOUT into account.
> > >
> > > Signed-off-by: Kirill A. Shutemov <kirill@xxxxxxxxxxxxx>
> > > Cc: stable@xxxxxxxxxx
> >
> > Thanks.
> >
> > Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
> >
>
> Is this bug sufficiently serious to justify a -stable backport?
>
> If so, why?
>
Well, the value of <root cgroup>/memory.memsw.usage_in_bytes would be incorrect
(swap usage would not be counted) without this patch. So the impact of this bug
depends on how the value is used.

Anyway, this bug exists only in 2.6.32 and this patch can be applied onto it
without any change.


Thanks,
Daisuke Nishimura.
--
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/