lkml.org 
[lkml]   [2013]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: cgroup: status-quo and userland efforts
On Wed, 26 Jun 2013, Tim Hockin wrote:

> On Wed, Jun 26, 2013 at 2:20 PM, Tejun Heo <tj@kernel.org> 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


\
 
 \ /
  Last update: 2013-06-27 02:41    [W:0.187 / U:0.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site