]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
cgroups: make root_list contains active hierarchies only
authorLi Zefan <lizf@cn.fujitsu.com>
Thu, 8 Jan 2009 02:07:41 +0000 (18:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 8 Jan 2009 16:31:03 +0000 (08:31 -0800)
commite5f6a8609bab0c2d7543ab1505105e011832afd7
tree07591b1fb27431cee41ea4ca097b514a0e773ba7
parent7534432dcc3c654a8671b6b0cdffd1dbdbc73074
cgroups: make root_list contains active hierarchies only

Don't link rootnode to the root list, so root_list contains active
hierarchies only as the comment indicates.  And rename for_each_root() to
for_each_active_root().

Also remove redundant check in cgroup_kill_sb().

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Paul Menage <menage@google.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Balbir Singh <balbir@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/cgroup.c