[systemd-devel] [HEADSUP] cgroup changes

Tejun Heo tj at kernel.org
Mon Jun 24 16:19:52 PDT 2013


Hello,

On Mon, Jun 24, 2013 at 04:01:07PM -0700, Andy Lutomirski wrote:
> So what is cgroup for?  That is, what's the goal for what the new API
> should be able to do?

It is a for controlling and distributing resources.  That part doesn't
change.  It's just not built to be used directly by individual
applications.  It's an admin tool just like sysctl - be that admin be
a human or userland base system.

There's a huge chasm between something which can be generally used by
normal applications and something which is restricted to admins and
base systems in terms of interface generality and stability, security,
how the abstractions fit together with the existing APIs and so on.
cgroup firmly belongs to the former.  It still serves the same purpose
but isn't, in a way, developed enough to be used directly by
individual applications and I'm not even sure we want or need to
develop it to such a level.

Thanks.

-- 
tejun


More information about the systemd-devel mailing list