All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@suse.de>
To: Dhaval Giani <dhaval.giani@gmail.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>,
	Paul Menage <menage@google.com>, Li Zefan <lizf@cn.fujitsu.com>,
	Lennart Poettering <lennart@poettering.net>,
	Andrew Morton <akpm@linux-foundation.org>,
	KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>,
	Ben Blum <bblum@andrew.cmu.edu>,
	containers@lists.linux-foundation.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] cgroupfs: create /sys/fs/cgroup to mount cgroupfs on
Date: Mon, 26 Jul 2010 14:28:58 -0700	[thread overview]
Message-ID: <20100726212858.GA15904@suse.de> (raw)
In-Reply-To: <AANLkTi=OMaKuk+ReeqCfBGes76BjKYyUdqxPOQfH8EcZ@mail.gmail.com>

On Mon, Jul 26, 2010 at 11:13:14AM +0200, Dhaval Giani wrote:
> On Mon, Jul 26, 2010 at 11:12 AM, Kay Sievers <kay.sievers@vrfy.org> wrote:
> > On Mon, Jul 26, 2010 at 11:08, Dhaval Giani <dhaval.lists@thegianis.in> wrote:
> >> On Thu, Jul 22, 2010 at 8:36 PM, Greg KH <gregkh@suse.de> wrote:
> >>> On Thu, Jul 22, 2010 at 11:31:07AM -0700, Paul Menage wrote:
> >>>> On Thu, Jul 22, 2010 at 11:26 AM, Greg KH <gregkh@suse.de> wrote:
> >>>> > We really shouldn't be asking userspace to create new root filesystems.
> >>>> > So follow along with all of the other in-kernel filesystems, and provide
> >>>> > a mount point in sysfs.
> >>>> >
> >>>> > For cgroupfs, this should be in /sys/fs/cgroup/  This change provides
> >>>> > that mount point when the cgroup filesystem is registered in the kernel.
> >>>>
> >>>> But cgroups will typically have multiple mounts, with different
> >>>> resource controllers/options on each mount. That doesn't really fit in
> >>>> with this scheme.
> >>>
> >>> Really?  I see systems mounting it at /cgroups/ in the filesystem today.
> >>> Where are you expecting it to be mounted at?
> >>>
> >>
> >> Not really. It is getting mounted at /cgroups/<name of resource
> >> controller>/ at a number of places. Keeping it in sysfs loses us a lot
> >> of this flexibility. Unless you are ready to keep adding a new
> >> mountpoint for each subsystem, it will not really work out in the long
> >> term.
> >
> > As mentioned earlier in this thread, systemd already mounts a tmpfs at
> > the cgroup mountpoint. We need only a single directory. This should
> > not be an issue.
> >
> 
> Ah ok. I am catching up with email after over 3 weeks :-). Missed all
> this discussion. My apologies!

Ok, again, after all of this, who is going to be applying this patch to
their tree for the .36 merge window?

Or should I apply it to my driver-core one?

thanks,

greg k-h

  parent reply	other threads:[~2010-07-26 21:29 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-22 18:26 [PATCH] cgroupfs: create /sys/fs/cgroup to mount cgroupfs on Greg KH
     [not found] ` <20100722182638.GA12712-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2010-07-22 18:31   ` Paul Menage
2010-07-22 18:31 ` Paul Menage
     [not found]   ` <AANLkTinRGBksuWAZhdmvr39FNACU18+kc5ut49VUf=mp-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-22 18:36     ` Greg KH
2010-07-22 18:36   ` Greg KH
2010-07-22 18:44     ` Paul Menage
     [not found]       ` <AANLkTimbcuzH6_bBhYX0U6vqftYgRwE0ZTmcbaRNzXef-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-22 18:53         ` Greg KH
2010-07-22 18:53       ` Greg KH
2010-07-22 19:07         ` Paul Menage
     [not found]           ` <AANLkTik07hZot_x0p7xJuY8s4f8pGRd2Mn1+jYfHH2iq-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-22 19:12             ` Greg KH
2010-07-22 19:12           ` Greg KH
     [not found]             ` <20100722191200.GA5609-l3A5Bk7waGM@public.gmane.org>
2010-07-22 19:18               ` Paul Menage
2010-07-22 21:48               ` Matt Helsley
2010-07-22 19:18             ` Paul Menage
2010-07-22 21:19               ` Greg KH
2010-07-22 23:12                 ` Paul Menage
2010-07-22 23:20                   ` Greg KH
     [not found]                   ` <AANLkTimwUC_ToxADRR9n5_KLFVHgL=ymMngXAyt+OboJ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-22 23:20                     ` Greg KH
     [not found]                 ` <20100722211958.GB1297-l3A5Bk7waGM@public.gmane.org>
2010-07-22 23:12                   ` Paul Menage
     [not found]               ` <AANLkTi=8TTeGG3OTbP4zzNAe_rDaNNL8D0Yxp7DixohK-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-22 21:19                 ` Greg KH
2010-07-22 21:48             ` Matt Helsley
2010-07-22 23:10               ` Kay Sievers
     [not found]                 ` <AANLkTikluqTBi3XsU-OT_IJuBdkURkHpM3ut-8ratnzr-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-23 20:21                   ` Matt Helsley
2010-07-23 20:21                 ` Matt Helsley
     [not found]               ` <20100722214821.GB14303-52DBMbEzqgQ/wnmkkaCWp/UQ3DHhIser@public.gmane.org>
2010-07-22 23:10                 ` Kay Sievers
     [not found]         ` <20100722185301.GA528-l3A5Bk7waGM@public.gmane.org>
2010-07-22 19:07           ` Paul Menage
2010-07-22 19:37     ` Vivek Goyal
2010-07-22 21:18       ` Greg KH
2010-07-22 21:26         ` Vivek Goyal
2010-07-22 23:35           ` Greg KH
     [not found]           ` <20100722212634.GC2688-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-07-22 23:35             ` Greg KH
2010-07-24 14:15             ` Balbir Singh
2010-07-24 14:15           ` Balbir Singh
     [not found]         ` <20100722211856.GA1297-l3A5Bk7waGM@public.gmane.org>
2010-07-22 21:26           ` Vivek Goyal
2010-07-22 23:08           ` Kay Sievers
2010-07-22 23:08         ` Kay Sievers
     [not found]           ` <AANLkTinFQtwrCC82T9KlKskDV8fn-zYgimyH2wguHkqY-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-22 23:14             ` Greg KH
2010-07-22 23:14           ` Greg KH
2010-07-22 23:16             ` Paul Menage
2010-07-22 23:23             ` Kay Sievers
     [not found]             ` <20100722231401.GA11538-l3A5Bk7waGM@public.gmane.org>
2010-07-22 23:16               ` Paul Menage
2010-07-22 23:23               ` Kay Sievers
2010-07-23  2:07               ` Vivek Goyal
2010-07-23  2:07             ` Vivek Goyal
2010-07-23 10:32               ` Jan Safranek
2010-07-23 12:06                 ` Greg KH
     [not found]                 ` <4C496FBA.3060009-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-07-23 12:06                   ` Greg KH
     [not found]               ` <20100723020714.GA11236-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-07-23 10:32                 ` Jan Safranek
     [not found]       ` <20100722193741.GA2688-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-07-22 21:18         ` Greg KH
     [not found]     ` <20100722183614.GA5443-l3A5Bk7waGM@public.gmane.org>
2010-07-22 18:44       ` Paul Menage
2010-07-22 19:37       ` Vivek Goyal
2010-07-26  9:08     ` Dhaval Giani
     [not found]       ` <AANLkTinsd2gWOHb3w9gzvKO5vdwLBT7DZOY+2xCUz_5_-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-26  9:12         ` Kay Sievers
2010-07-26  9:12       ` Kay Sievers
2010-07-26  9:13         ` Dhaval Giani
     [not found]           ` <AANLkTi=OMaKuk+ReeqCfBGes76BjKYyUdqxPOQfH8EcZ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-26 21:28             ` Greg KH
2010-07-26 21:28           ` Greg KH [this message]
     [not found]             ` <20100726212858.GA15904-l3A5Bk7waGM@public.gmane.org>
2010-07-26 21:55               ` Paul Menage
2010-07-26 21:55             ` Paul Menage
     [not found]               ` <AANLkTimmAfhw7WhPHHU6d4izkzvp2oxOSzNN8JjNu_nU-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-26 22:05                 ` Greg KH
2010-07-26 22:05               ` Greg KH
2010-07-26 22:08                 ` Dhaval Giani
2010-07-26 22:17                   ` Greg KH
     [not found]                   ` <AANLkTi=d1-Uf4TeyvMH3evo91zPWjbincij=HC0ny0Ym-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-26 22:17                     ` Greg KH
     [not found]                 ` <20100726220546.GB9671-l3A5Bk7waGM@public.gmane.org>
2010-07-26 22:08                   ` Dhaval Giani
2010-07-26 22:09                   ` Paul Menage
2010-07-26 22:09                 ` Paul Menage
     [not found]                   ` <AANLkTi=Vrax+ob87uiDzeMxOmuDNYUWnDKG0jpfQppAp-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-26 22:17                     ` Greg KH
2010-07-26 22:17                   ` Greg KH
     [not found]         ` <AANLkTimm9XGvK2H55V7N76JPU05iHk_dY5JjOLifQTsr-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-26  9:13           ` Dhaval Giani
  -- strict thread matches above, loose matches on Subject: below --
2010-07-22 18:26 Greg KH

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=20100726212858.GA15904@suse.de \
    --to=gregkh@suse.de \
    --cc=akpm@linux-foundation.org \
    --cc=bblum@andrew.cmu.edu \
    --cc=containers@lists.linux-foundation.org \
    --cc=dhaval.giani@gmail.com \
    --cc=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=kay.sievers@vrfy.org \
    --cc=lennart@poettering.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lizf@cn.fujitsu.com \
    --cc=menage@google.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.