[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1102170917320.2160@pobox.suse.cz>
Date: Thu, 17 Feb 2011 09:17:41 +0100 (CET)
From: Jiri Kosina <jkosina@...e.cz>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
Cc: Greg Thelen <gthelen@...gle.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Randy Dunlap <rdunlap@...otime.net>,
Daisuke Nishimura <nishimura@....nes.nec.co.jp>,
linux-mm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] memcg: clarify use_hierarchy documentation
On Thu, 17 Feb 2011, KAMEZAWA Hiroyuki wrote:
> On Wed, 16 Feb 2011 17:51:23 -0800
> Greg Thelen <gthelen@...gle.com> wrote:
>
> > The memcg code does not allow changing memory.use_hierarchy if the
> > parent cgroup has enabled use_hierarchy. Update documentation to match
> > the code.
> >
> > Signed-off-by: Greg Thelen <gthelen@...gle.com>
>
> Thank you,
> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
Applied, thanks.
>
> Because I tend to read linux-mm list 1st, I'm glad if you CC linux-mm in
> the next time.
>
> > ---
> > Documentation/cgroups/memory.txt | 5 +++--
> > 1 files changed, 3 insertions(+), 2 deletions(-)
> >
> > diff --git a/Documentation/cgroups/memory.txt b/Documentation/cgroups/memory.txt
> > index 7781857..b6ed61c 100644
> > --- a/Documentation/cgroups/memory.txt
> > +++ b/Documentation/cgroups/memory.txt
> > @@ -485,8 +485,9 @@ The feature can be disabled by
> >
> > # echo 0 > memory.use_hierarchy
> >
> > -NOTE1: Enabling/disabling will fail if the cgroup already has other
> > - cgroups created below it.
> > +NOTE1: Enabling/disabling will fail if either the cgroup already has other
> > + cgroups created below it, or if the parent cgroup has use_hierarchy
> > + enabled.
> >
> > NOTE2: When panic_on_oom is set to "2", the whole system will panic in
> > case of an OOM event in any cgroup.
> > --
> > 1.7.3.1
> >
> >
>
--
Jiri Kosina
SUSE Labs, Novell Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists