[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



CCing Jon, as maintainer of libcgroup he might be interested in this
discussion.

Am 07.09.2010 23:12, schrieb Bastian Blank:
> On Tue, Sep 07, 2010 at 10:54:04PM +0200, Michael Biebl wrote:
>> On 07.09.2010 22:41, Bastian Blank wrote:
>>> 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.
> 
> sysfs does not support mkdir. How will you mount _n_ different
> hierarchies?

In the thread I quoted, G-K H mentions that /sys/fs/cgroup would be a tmpfs.

>>> 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.
> 
> There are other locations. /sys is system wide and not daemon specific.
> 

I remember discussions, where to mount the cgroupfs [1], some while ago,
and /sys was among the recommendations.  More importantly though, it was
said that we should see what the kernel folks do.

With the aforementioned patch, the kernel maintainers have more or less
answered the question and as already said, this patch will land in .36
and the Debian kernel for that matter.

Do you see any problems, why this patch should not be in the .32
(squeeze) kernel?

Michael

[1] http://lists.debian.org/debian-devel/2009/02/msg00037.html
-- 
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: