Revert "cgroup: Move rcu_head up near the top of cgroup_root"

This reverts commit 430691b79e.
This commit is contained in:
Ksawlii 2024-11-24 00:23:31 +01:00
parent ffa9062c50
commit d9a5f63b5f

View file

@ -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;