public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cgroups: update documentation on task moving restriction
@ 2011-08-18  2:51 Li Zefan
  2011-08-18  7:44 ` Paul Menage
  0 siblings, 1 reply; 3+ messages in thread
From: Li Zefan @ 2011-08-18  2:51 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: LKML, container cgroup, linux-doc, Paul Menage

- ns cgroup has been removed.
- it's true moving a task to another cgroup can fail.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
 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
 --------------------------------
-- 
1.7.3.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] cgroups: update documentation on task moving restriction
  2011-08-18  2:51 [PATCH] cgroups: update documentation on task moving restriction Li Zefan
@ 2011-08-18  7:44 ` Paul Menage
  2011-08-22  4:15   ` Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Menage @ 2011-08-18  7:44 UTC (permalink / raw)
  To: Li Zefan; +Cc: Randy Dunlap, LKML, container cgroup, linux-doc

On Wed, Aug 17, 2011 at 7:51 PM, Li Zefan <lizf@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@cn.fujitsu.com>

Acked-by: Paul Menage <paul@paulmenage.org>


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] cgroups: update documentation on task moving restriction
  2011-08-18  7:44 ` Paul Menage
@ 2011-08-22  4:15   ` Randy Dunlap
  0 siblings, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2011-08-22  4:15 UTC (permalink / raw)
  To: Paul Menage; +Cc: Li Zefan, LKML, container cgroup, linux-doc

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

> On Wed, Aug 17, 2011 at 7:51 PM, Li Zefan <lizf@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@cn.fujitsu.com>
> 
> Acked-by: Paul Menage <paul@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 ***

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-22  4:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-18  2:51 [PATCH] cgroups: update documentation on task moving restriction Li Zefan
2011-08-18  7:44 ` Paul Menage
2011-08-22  4:15   ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox