From: Balbir Singh <balbir@linux.vnet.ibm.com>
To: Lennart Poettering <mzxreary@0pointer.de>
Cc: Peter Zijlstra <peterz@infradead.org>,
Dhaval Giani <dhaval.giani@gmail.com>,
James Kosin <jkosin@intcomgrp.com>,
linux-kernel@vger.kernel.org, menage@google.com,
jsafrane@redhat.com, tglx@linutronix.de
Subject: Re: [PATCH/RFC] Have sane default values for cpusets
Date: Fri, 14 May 2010 11:13:36 +0530 [thread overview]
Message-ID: <20100514054336.GX3296@balbir.in.ibm.com> (raw)
In-Reply-To: <20100514000252.GB30093@tango.0pointer.de>
* Lennart Poettering <mzxreary@0pointer.de> [2010-05-14 02:02:52]:
> On Thu, 13.05.10 23:19, Peter Zijlstra (peterz@infradead.org) wrote:
>
> >
> > On Thu, 2010-05-13 at 16:03 +0200, Lennart Poettering wrote:
> > > > On Wed, 2010-05-12 at 21:07 +0200, Lennart Poettering wrote:
> > > > > See Dhaval's patch on the background of systemd
> > > > > (http://0pointer.de/blog/projects/systemd.html). When a service is
> > > > > started in systemd, we create a cgroup for it, when it ends, we remove
> > > > > it.
> > > >
> > > > I seriously hope that's optional, because I for one would really hate a
> > > > system that does that. I still mostly build kernels with only cpuset in
> > > > and really don't want anybody but me creating groups in there.
> > >
> > > By default systemd will create its groups in the "debug" hierarchy, (at
> > > least for now, in the long run i'd like to see "noop" hierarchy or so,
> > > that doesn't sound so temporary), since that controller is not useful
> > > for anything but keeping track of processes. So it shouldn't bother you
> > > at all.
> >
> > Will it still work with a CONFIG_CGROUP=n kernel? I see distributions
> > deteriorate, you cannot even boot a raw bzImage kernel without initrd on
> > most distros (sure, its not too hard to fix, but still).
>
> No it won't work without cgroups.
>
> > Also, I get all kinds of dumb-ass init-script failures for not having
> > modules but stuff built-in. A prime example is NFS failing on start on
> > both fedora and ubuntu with a built-in nfs server (for different but
> > both retarded reasons).
> >
> > Requiring CONFIG_CGROUP=y to even get init running seems like a final
> > straw to ensure nobody will ever get anything to boot these days.
>
> Well, I wasn't aware that cgroups is now in the kernel for the purpose
> that people should *not* use it.
>
> Next time something is added to the kernel please mark it as "Hey,
> please don't use it, this is only here so that you don't use
> it. Thanks!" Maybe then dumb-ass folks like me will notice and refrain
> from using it.
>
> Requiring a single kernel options is not really too much to ask, is it?
> Don't be that conservative. systemd certainly won't require an initrd
> or anything else equally intrusive btw.
>
I think the config options are the domains of the distributors and if
the code is there and works, most distros will enable it. As long as
they have a feature that uses that option or a need for it.
I am not sure why CONFIG_CGROUP=y is so bad, Peter, could you
elaborate?
--
Three Cheers,
Balbir
next prev parent reply other threads:[~2010-05-14 5:43 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <eJjRf-6YM-1@gated-at.bofh.it>
[not found] ` <eJktY-7JG-7@gated-at.bofh.it>
[not found] ` <eJktY-7JG-5@gated-at.bofh.it>
2010-05-12 14:11 ` [PATCH/RFC] Have sane default values for cpusets James Kosin
2010-05-12 14:13 ` Dhaval Giani
2010-05-12 14:20 ` Peter Zijlstra
2010-05-12 14:22 ` Dhaval Giani
2010-05-12 14:40 ` Jan Safranek
[not found] ` <4BEAE7A1.2010001@intcomgrp.com>
2010-05-12 17:42 ` Dhaval Giani
2010-05-12 17:58 ` James Kosin
2010-05-12 18:04 ` Chris Friesen
2010-05-12 18:27 ` Balbir Singh
2010-05-12 19:07 ` Lennart Poettering
2010-05-13 13:01 ` Peter Zijlstra
2010-05-13 14:03 ` Lennart Poettering
2010-05-13 20:06 ` Paul Menage
2010-05-13 20:36 ` Lennart Poettering
2010-05-13 20:41 ` Lennart Poettering
2010-05-13 21:07 ` Balbir Singh
2010-05-13 23:55 ` Lennart Poettering
2010-05-14 5:44 ` Balbir Singh
2010-05-14 6:34 ` Dhaval Giani
2010-05-13 21:29 ` Paul Menage
2010-05-13 21:19 ` Peter Zijlstra
2010-05-14 0:02 ` Lennart Poettering
2010-05-14 5:43 ` Balbir Singh [this message]
2010-05-14 6:53 ` Peter Zijlstra
2010-05-14 8:12 ` Balbir Singh
2010-05-14 10:38 ` Peter Zijlstra
2010-05-14 11:57 ` Dhaval Giani
2010-05-14 16:07 ` Lennart Poettering
2010-05-14 6:51 ` Peter Zijlstra
2010-05-14 7:23 ` Peter Zijlstra
2010-05-14 8:11 ` Balbir Singh
2010-05-12 13:05 Dhaval Giani
2010-05-12 13:40 ` Peter Zijlstra
2010-05-12 13:46 ` Dhaval Giani
2010-05-12 19:01 ` Paul Menage
2010-05-12 19:10 ` Dhaval Giani
2010-05-12 19:20 ` Paul Menage
2010-05-12 19:29 ` Dhaval Giani
2010-05-12 19:36 ` Paul Menage
2010-05-12 19:39 ` Balbir Singh
2010-05-12 19:59 ` Dhaval Giani
2010-05-13 10:26 ` Dhaval Giani
2010-05-13 10:52 ` Balbir Singh
2010-05-13 20:12 ` Paul Menage
2010-05-13 20:16 ` Dhaval Giani
2010-05-13 20:19 ` Dhaval Giani
2010-05-12 19:30 ` Balbir Singh
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=20100514054336.GX3296@balbir.in.ibm.com \
--to=balbir@linux.vnet.ibm.com \
--cc=dhaval.giani@gmail.com \
--cc=jkosin@intcomgrp.com \
--cc=jsafrane@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=menage@google.com \
--cc=mzxreary@0pointer.de \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
/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;
as well as URLs for NNTP newsgroup(s).