summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2008-04-29 10:00:13 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 17:06:10 +0200
commit28fd5dfc12bde391981dfdcf20755952b6e916af (patch)
treece0637c3f8c04d802b467cd518a9d0c076f1eeea /include
parentcgroups: simplify init_subsys() (diff)
downloadlinux-28fd5dfc12bde391981dfdcf20755952b6e916af.tar.xz
linux-28fd5dfc12bde391981dfdcf20755952b6e916af.zip
cgroups: remove the css_set linked-list
Now we can run through the hash table instead of running through the linked-list. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Reviewed-by: Paul Menage <menage@google.com> Cc: Balbir Singh <balbir@linux.vnet.ibm.com> Cc: Pavel Emelyanov <xemul@openvz.org> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/cgroup.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index f585b7cde87b..d58a958444ab 100644
--- a/include/linux/cgroup.h
+++ b/include/linux/cgroup.h
@@ -150,12 +150,6 @@ struct css_set {
struct kref ref;
/*
- * List running through all cgroup groups. Protected by
- * css_set_lock
- */
- struct list_head list;
-
- /*
* List running through all cgroup groups in the same hash
* slot. Protected by css_set_lock
*/