mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 09:02:06 +00:00
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>
This commit is contained in:
parent
e8d55fdeb8
commit
28fd5dfc12
2 changed files with 20 additions and 26 deletions
|
@ -149,12 +149,6 @@ struct css_set {
|
|||
/* Reference count */
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue