diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2008-04-29 04:00:13 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 11:06:10 -0400 |
commit | 28fd5dfc12bde391981dfdcf20755952b6e916af (patch) | |
tree | ce0637c3f8c04d802b467cd518a9d0c076f1eeea /include/linux/cgroup.h | |
parent | e8d55fdeb882cfcb5e8db5a5ce16edfba78aafc5 (diff) |
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/linux/cgroup.h')
-rw-r--r-- | include/linux/cgroup.h | 6 |
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 { | |||
150 | struct kref ref; | 150 | struct kref ref; |
151 | 151 | ||
152 | /* | 152 | /* |
153 | * List running through all cgroup groups. Protected by | ||
154 | * css_set_lock | ||
155 | */ | ||
156 | struct list_head list; | ||
157 | |||
158 | /* | ||
159 | * List running through all cgroup groups in the same hash | 153 | * List running through all cgroup groups in the same hash |
160 | * slot. Protected by css_set_lock | 154 | * slot. Protected by css_set_lock |
161 | */ | 155 | */ |