[PATCH] cgroups: update documentation on task moving restriction

Randy Dunlap rdunlap at xenotime.net
Sun Aug 21 21:15:25 PDT 2011


On Thu, 18 Aug 2011 00:44:35 -0700 Paul Menage wrote:

> On Wed, Aug 17, 2011 at 7:51 PM, Li Zefan <lizf at cn.fujitsu.com> wrote:
> > - ns cgroup has been removed.
> > - it's true moving a task to another cgroup can fail.
> >
> > Signed-off-by: Li Zefan <lizf at cn.fujitsu.com>
> 
> Acked-by: Paul Menage <paul at paulmenage.org>

Applied, thanks.


> > ---
> >  Documentation/cgroups/cgroups.txt |    4 ++--
> >  1 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/Documentation/cgroups/cgroups.txt b/Documentation/cgroups/cgroups.txt
> > index cd67e90..9c452ef 100644
> > --- a/Documentation/cgroups/cgroups.txt
> > +++ b/Documentation/cgroups/cgroups.txt
> > @@ -454,8 +454,8 @@ mounted hierarchy, to remove a task from its current cgroup you must
> >  move it into a new cgroup (possibly the root cgroup) by writing to the
> >  new cgroup's tasks file.
> >
> > -Note: If the ns cgroup is active, moving a process to another cgroup can
> > -fail.
> > +Note: Due to some restrictions enforced by some cgroup subsystems, moving
> > +a process to another cgroup can fail.
> >
> >  2.3 Mounting hierarchies by name
> >  --------------------------------
> > --


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***


More information about the Containers mailing list