Re: [PATCH] cgroupfs: create /sys/fs/cgroup to mount cgroupfs on

From: Paul Menage
Date: Thu Jul 22 2010 - 14:31:26 EST


On Thu, Jul 22, 2010 at 11:26 AM, Greg KH <gregkh@xxxxxxx> 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.

Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/