From: Tejun Heo Date: Mon, 19 Nov 2012 16:13:39 +0000 (-0800) Subject: cgroup, cpuset: remove cgroup_subsys->post_clone() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~57^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=033fa1c5f5f73833598a0beb022c0048fb769dad;p=pandora-kernel.git cgroup, cpuset: remove cgroup_subsys->post_clone() Currently CGRP_CPUSET_CLONE_CHILDREN triggers ->post_clone(). Now that clone_children is cpuset specific, there's no reason to have this rather odd option activation mechanism in cgroup core. cpuset can check the flag from its ->css_allocate() and take the necessary action. Move cpuset_post_clone() logic to the end of cpuset_css_alloc() and remove cgroup_subsys->post_clone(). Loosely based on Glauber's "generalize post_clone into post_create" patch. Signed-off-by: Tejun Heo Original-patch-by: Glauber Costa Original-patch: <1351686554-22592-2-git-send-email-glommer@parallels.com> Acked-by: Serge E. Hallyn Acked-by: Li Zefan Cc: Glauber Costa --- Reading git-diff-tree failed