Revert "cgroup: Move rcu_head up near the top of cgroup_root"
This reverts commit 430691b79e
.
This commit is contained in:
parent
ffa9062c50
commit
d9a5f63b5f
1 changed files with 4 additions and 4 deletions
|
@ -508,10 +508,6 @@ struct cgroup_root {
|
|||
/* Unique id for this hierarchy. */
|
||||
int hierarchy_id;
|
||||
|
||||
/* A list running through the active hierarchies */
|
||||
struct list_head root_list;
|
||||
struct rcu_head rcu; /* Must be near the top */
|
||||
|
||||
/* The root cgroup. Root is destroyed on its release. */
|
||||
struct cgroup cgrp;
|
||||
|
||||
|
@ -521,6 +517,10 @@ struct cgroup_root {
|
|||
/* Number of cgroups in the hierarchy, used only for /proc/cgroups */
|
||||
atomic_t nr_cgrps;
|
||||
|
||||
/* A list running through the active hierarchies */
|
||||
struct list_head root_list;
|
||||
struct rcu_head rcu;
|
||||
|
||||
/* Hierarchy-specific flags */
|
||||
unsigned int flags;
|
||||
|
||||
|
|
Loading…
Reference in a new issue