[PATCH] cgroups: update documentation on task moving restriction

Paul Menage paul at paulmenage.org
Thu Aug 18 00:44:35 PDT 2011


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>


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


More information about the Containers mailing list