From: David Lang <david@lang.hm>
To: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [proposal] delegating cgroup manager to non-PID1
Date: Sun, 1 Mar 2015 16:13:43 -0800 (PST) [thread overview]
Message-ID: <alpine.DEB.2.02.1503011610500.12474@nftneq.ynat.uz> (raw)
In-Reply-To: <CAPweEDwhAjLZvgoUiTUFG4pRd5ACLXdgDX0schwBmXie+meT7Q@mail.gmail.com>
On Sun, 1 Mar 2015, Luke Kenneth Casson Leighton wrote:
> in recent discussions about PID-1 alternatives (sysvinit, openrc,
> systemd, depinit) i was alerted to the idea that PID1 is to become the
> sole exlcusive process permitted to manage cgroups. given that, just
> as one specific example, depinit is only around 2,300 lines of c code,
> adding extra code to manage cgroups is of some concern especially in
> light of the general UNIX philosophy "do one thing and do it well".
>
> to allow the general UNIX philosophy to be honoured, may i
> respectfully propose an additional linux kernel systemcall which
> permits delegation - solely and exclusively by PID1 - of the
> management of cgroups to one (and only one) other process, and that
> furthermore that the process must be an immediate child of PID1?
There is less agreement on the idea that PID1 will have exclusive control over
cgroups than some of the posts make it seem. There are many people who use
cgroups for things that PID1 (and systemd) aren't dealing with. The issue is
that the people working to revamp cgroups are saying that allowing other
processed to affect cgroups brings up hard problems that they don't want to deal
with right now, so they want to make cgroups exclusive to PID1 as a 'temporary'
measure, and then look at solving the problems that are needed to let other
processes manage parts or all of the cgroups config.
David Lang
next prev parent reply other threads:[~2015-03-02 0:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-01 23:25 Luke Kenneth Casson Leighton
2015-03-02 0:13 ` David Lang [this message]
2015-03-02 1:48 ` Luke Kenneth Casson Leighton
2015-03-03 1:10 ` Luke Kenneth Casson Leighton
2015-03-03 1:45 ` David Lang
2015-03-03 11:21 ` Luke Kenneth Casson Leighton
2015-03-03 11:27 ` Luke Kenneth Casson Leighton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.02.1503011610500.12474@nftneq.ynat.uz \
--to=david@lang.hm \
--cc=linux-kernel@vger.kernel.org \
--cc=lkcl@lkcl.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®