[lkml]   [2010]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] cgroupfs: create /sys/fs/cgroup to mount cgroupfs on
    On Thu, Jul 22, 2010 at 8:36 PM, Greg KH <> 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 <> 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

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2010-07-26 11:11    [W:0.050 / U:93.764 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site