Re: [PATCH] cgroups: update documentation on task moving restriction

From: Paul Menage
Date: Thu Aug 18 2011 - 03:45:03 EST


On Wed, Aug 17, 2011 at 7:51 PM, Li Zefan <lizf@xxxxxxxxxxxxxx> wrote:
> - ns cgroup has been removed.
> - it's true moving a task to another cgroup can fail.
>
> Signed-off-by: Li Zefan <lizf@xxxxxxxxxxxxxx>

Acked-by: Paul Menage <paul@xxxxxxxxxxxxxx>


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