Re: [PATCH 1/2] cgroup: call cgroup_subsys->bind on cgroup subsys initialization

2015-03-02 Thread Tejun Heo
On Thu, Feb 19, 2015 at 05:34:46PM +0300, Vladimir Davydov wrote: > Currently, we call cgroup_subsys->bind only on unmount, remount, and > when creating a new root on mount. Since the default hierarchy root is > created in cgroup_init, we will not call cgroup_subsys->bind if the > default hierarchy

[PATCH 1/2] cgroup: call cgroup_subsys->bind on cgroup subsys initialization

2015-02-19 Thread Vladimir Davydov
Currently, we call cgroup_subsys->bind only on unmount, remount, and when creating a new root on mount. Since the default hierarchy root is created in cgroup_init, we will not call cgroup_subsys->bind if the default hierarchy is freshly mounted. As a result, some controllers will behave incorrectly