[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110310165911.GA4911@mgebm.net>
Date: Thu, 10 Mar 2011 11:59:12 -0500
From: Eric B Munson <emunson@...bm.net>
To: Paul Menage <menage@...gle.com>
Cc: containers@...ts.linux-foundation.org, rdunlap@...otime.net,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Documentation: cgroups: Add notes on removing PIDs
from tasks and cgroups requiring setup
On Wed, 09 Mar 2011, Paul Menage wrote:
> On Wed, Mar 9, 2011 at 1:09 PM, Eric B Munson <emunson@...bm.net> wrote:
> >
> > +Note: To remove a task from a cgroup you must write its PID to the root
> > +tasks file.
> > +
>
> This isn't really accurate - the root cgroup is a cgroup like all the
> others. More accurate would be something like:
>
> Since every task is always a member of exactly one cgroup in each
> 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.
>
> Paul
>
I am going to lift that for V2.
Download attachment "signature.asc" of type "application/pgp-signature" (491 bytes)
Powered by blists - more mailing lists