[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#595964: Please cherry-pick patch to mount cgroupfs at /sys/fs/cgroup



On 07.09.2010 22:41, Bastian Blank wrote:
> On Tue, Sep 07, 2010 at 07:19:15PM +0200, Michael Biebl wrote:
>> please consider cherry-picking the patch to mount cgroupfs at
>> /sys/fs/cgroup [1]. This patch will be in upstream 2.6.36 and has been
>> acked by the kernel cgroup and libcgroup maintainer.
> 
> And what does this help? There are n cgroup filesystem hierarchies.

Are you referring to cgroup fs like cpuset? They would be mounted below
/sys/fs/cgroup.

One idea behind this patch is, to provide a sane default by the kernel, so the
userland does not mount it at random places, like /dev/cgroup, /cgroup or
/mnt/cgroup.

See also the discussion at [1].

> 
>> Without this patch, the cgroupfs for systemd will be mounted at /cgroup
>> and it would be preferable to not introduce another toplevel directory.
> 
> As it is private to systemd anyway, the correct locations is somewhere
> below /var/lib/

As systemd requires the cgroupfs during early boot, /var/lib is not an option.

Michael


[1] http://lkml.org/lkml/2010/7/22/384
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: