Hi.I did consider adding an "initialized" flag to the css but since there can be multiple css's per
On Mon, Jul 21, 2025 at 06:40:25PM -0700, JP Kobryn <inwardvessel@xxxxxxxxx> wrote:
...
Thanks for the instructive summary!
If any of the three goto jumps are taken, async cleanup will begin andFirst thought is why not simply add a flag that'd guide whether
css_rstat_exit() will be invoked. But since css_rstat_init() would not have
succeeded, the warning will eventually be reached.
css_rstat_exit() has work to do.
No problem, I overlooked that.
This is meant as a fix, so it should have some metadata, I'd consider this one:
Fixes: 5da3bfa029d68 ("cgroup: use separate rstat trees for each subsystem")
(that's when css_rstat_init was moved to css_create)
and likely this
Reported-by: syzbot+8d052e8b99e40bc625ed@xxxxxxxxxxxxxxxxxxxxxxxxx
(Sorry for being such a bureaucrat.)
It's most appropriate in your 4/5 but do you think it'd be possible toLet me give that a try. As it is right now, patches 1-3 are pre-reqs for 4. I can try to get the
reshuffle the series to put the fix in front (to ease it for stable
kernels) and refactorings after?