[PATCH 1/9 v2] cgroup: add cgroup_subsys->post_create()

Michal Hocko mhocko at suse.cz
Wed Nov 7 17:40:35 UTC 2012


On Wed 07-11-12 09:15:08, Tejun Heo wrote:
[...]
> This patch adds ->post_create().  It's called after all ->create()
> succeeded and the cgroup is linked into the generic cgroup hierarchy.
> This plays the counterpart of ->pre_destroy().
> 
> When used in combination with the to-be-added generic descendant
> iterators, ->post_create() can be used to implement reliable state
> inheritance.  It will be explained with the descendant iterators.

Thanks
-- 
Michal Hocko
SUSE Labs


More information about the Containers mailing list