Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 4cf1497

Browse files
committed
Revert "cgroup: Move rcu_head up near the top of cgroup_root"
This reverts commit f3c60ab which is commit a7fb042 upstream. It breaks the Android kernel abi and can be brought back in the future in an abi-safe way if it is really needed. Bug: 161946584 Change-Id: I9cd2b0e4ad7ee33ab44d195935094c7d5855f8ae Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 01ed5e6 commit 4cf1497

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/linux/cgroup-defs.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -560,10 +560,6 @@ struct cgroup_root {
560560
/* Unique id for this hierarchy. */
561561
int hierarchy_id;
562562

563-
/* A list running through the active hierarchies */
564-
struct list_head root_list;
565-
struct rcu_head rcu; /* Must be near the top */
566-
567563
/*
568564
* The root cgroup. The containing cgroup_root will be destroyed on its
569565
* release. cgrp->ancestors[0] will be used overflowing into the
@@ -577,6 +573,10 @@ struct cgroup_root {
577573
/* Number of cgroups in the hierarchy, used only for /proc/cgroups */
578574
atomic_t nr_cgrps;
579575

576+
/* A list running through the active hierarchies */
577+
struct list_head root_list;
578+
struct rcu_head rcu;
579+
580580
/* Hierarchy-specific flags */
581581
unsigned int flags;
582582

0 commit comments

Comments
 (0)