Re: [PATCH 1/4] cgroup: Eliminate cgrp_ancestor_storage in cgroup_root

From: Tejun Heo

Date: Tue Jan 06 2026 - 13:03:51 EST


On Tue, Jan 06, 2026 at 04:06:47PM +0900, Gustavo A. R. Silva wrote:
> Instead of the above anonymous struct, we can use the DECLARE_FLEX_ARRAY()
> helper here:
>
> DECLARE_FLEX_ARRAY(struct cgroup, *ancestors);

Michal, can you update the patch with the above and resend?

Thanks.

--
tejun