Hello, On Tue, Nov 30, 2021 at 12:50:10PM +0100, Jan Kara wrote: > The problem is bfq_queue associated with a task effectively holds a > reference to the potentially dead cgroup and the reference can stay there > until the task (that itself got reparented to the root cgroup) exits. So I > think we need to reparent these bfq_queue structures as well to avoid > holding cgroup in zombie state excessively long. Ah, I see. Yeah, that's not great. Agree that it'd be better to reparent (probably just punt to the root cgroup). Thanks. -- tejun