Re: cgroup: status-quo and userland efforts

From: David Lang
Date: Wed Jun 26 2013 - 20:16:42 EST


On Wed, 26 Jun 2013, Tim Hockin wrote:

On Wed, Jun 26, 2013 at 2:20 PM, Tejun Heo <tj@xxxxxxxxxx> wrote:
Hello, Tim.

On Mon, Jun 24, 2013 at 09:07:47PM -0700, Tim Hockin wrote:
I really want to understand why this is SO IMPORTANT that you have to
break userspace compatibility? I mean, isn't Linux supposed to be the
OS with the stable kernel interface? I've seen Linus rant time and
time again about this - why is it OK now?

What the hell are you talking about? Nobody is breaking userland
interface. A new version of interface is being phased in and the old

The first assertion, as I understood, was that (eventually) cgroupfs
will not allow split hierarchies - that unified hierarchy would be the
only mode. Is that not the case?

The second assertion, as I understood, was that (eventually) cgroupfs
would not support granting access to some cgroup control files to
users (through chown/chmod). Is that not the case?

As a bystander, what I understand to be happening is:

1. the Kernel developers are saying that multiple hierarchies is causing lots of problems, and so they are starting the migration to a unified hierarchy. In the near term this will be optional, at a later (unspecified) point, it will no longer be optional.

It is recognized that this is an API break, but the problem is bad enough (too much undefined behavior) that it looks like they are going to do this anyway.


2. indpendantly from this, the systemd people have declared that systemd is going to take control of this unified hierarchy and all applications had better use DBUS calls to systemd to make any cgroup changes or else. (i.e. systemd may break whatever you are doing)


I don't think the kernel developers are talking about changing ways to control cgroups, just eliminating having multiple hierarchies.



Now, I could be completely misunderstanding this (and I expect to hear about it if I am :-)

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