Re: [PATCH v4 cgroup/for-3.7] cgroup: mark subsystems with broken hierarchy support and whine if cgroups are nested for them

Michal Hocko
2012-09-18T15:04:05Z

[didn't get to this sooner]

On Fri 14-09-12 12:06:08, Tejun Heo wrote:
> On Thu, Sep 13, 2012 at 12:20:58PM -0700, Tejun Heo wrote:
> > Currently, cgroup hierarchy support is a mess. cpu related subsystems
> > behave correctly - configuration, accounting and control on a parent
> > properly cover its children. blkio and freezer completely ignore
> > hierarchy and treat all cgroups as if they're directly under the root
> > cgroup. Others show yet different behaviors.
>
> Applied to cgroup/for-3.7-hierarchy w/ acks added.
>
> git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-3.7-hierarchy
>
> The branch is based on top of the current mainline (fbcbe2b3c 3.6-rc5)
> and only contains hierarchy related changes.

This is not very much mm git tree friendly because I would have to pull
a lot just to merge a single commit... It would have been much nicer if
you based it on the last major release (it applies cleanly on top of
3.5). mm git tree tries to get as few (unrelated) changes as possible on
top of the last major release.

> The branch will be kept stable unless I do something completely
> stupid, so please feel free to pull into other trees as necessary.

Anyway, keep it this way for now (as we are getting close to the end of
3.6). I have cherry-picked 8c7f6edb for now and use the branch after 3.6
is out.
--
Michal Hocko
SUSE Labs