[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 14.09.2010 16:59, Ben Hutchings wrote:
> On Tue, Sep 14, 2010 at 09:51:49AM -0400, Jon Bernard wrote:

>>
>> I agree with not creating another top-level directory. I configured
>> libcgroup to mount cgroupfs under /mnt/cgroup as an initial solution,
>> but mounting in /sys/fs seems much more consistent with current
>> conventions.
> 
> Using /mnt/cgroup is definitely wrong.  FHS says that /mnt is reserved as a
> temporary mountpoint for local use.
> 
> If there is a consensus upstream that /sys/fs/cgroup is the right place for
> this filesystem,

This patch has ben acked by
Paul Menage <menage@google.com> and
Dhaval Giani <dhaval.giani@gmail.com>

Afaik Dhaval is the libcgroup upstream developer and Paul is the maintainer of
the kernel cgroup code. And also as mentioned before, it will be in 2.6.36. I
guess this can be considered as consensus upstream.

 and this is needed in squeeze (rather than just for
> systemd) then I think we would add that directory in the kernel package for
> squeeze.  Otherwise, this is for wheezy (and current experimental) only.

As we usually try to support running the old kernel from release (squeeze) in
release+1(wheezy), this patch would ensure that systemd would easily run with a
squeeze kernel (without any ugly workarounds). It would be future-proofing if
you will.

Cheers,
Michael

-- 
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: