From: Tejun Heo Date: Fri, 14 Jun 2013 02:27:41 +0000 (-0700) Subject: cgroup: reorder the operations in cgroup_destroy_locked() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~44^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=455050d23e1bfc47ca98e943ad5b2f3a9bbe45fb;p=pandora-kernel.git cgroup: reorder the operations in cgroup_destroy_locked() This patch reorders the operations in cgroup_destroy_locked() such that the userland visible parts happen before css offlining and removal from the ->sibling list. This will be used to make css use percpu refcnt. While at it, split out CGRP_DEAD related comment from the refcnt deactivation one and correct / clarify how different guarantees are met. While this patch changes the specific order of operations, it shouldn't cause any noticeable behavior difference. Signed-off-by: Tejun Heo Acked-by: Li Zefan --- Reading git-diff-tree failed