Messages in this thread | ![/](/images/icornerl.gif) | | From | Namhyung Kim <> | Date | Fri, 25 Oct 2019 18:38:00 +0900 | Subject | Re: [PATCH 1/2] cgroup: Add generation number with cgroup id |
| |
On Fri, Oct 25, 2019 at 5:30 PM Namhyung Kim <namhyung@kernel.org> wrote: > > > /* > > > * A cgroup_root represents the root of a cgroup hierarchy, and may be > > > * associated with a kernfs_root to form an active hierarchy. This is > > > @@ -521,7 +529,7 @@ struct cgroup_root { > > > unsigned int flags; > > > > > > /* IDs for cgroups in this hierarchy */ > > > - struct idr cgroup_idr; > > > + struct cgroup_idr cgroup_idr; > > > > Given that there's cgroup->self css, can we get rid of the above? > > I don't follow. Do you want to remove cgroup_idr and share the > css_idr for cgroup id?
Or, you don't want to add cgroup_idr struct and use idr directly?
Thanks Namhyung
| ![\](/images/icornerr.gif) |