Re: [PATCH 10/11] cgroup: separate rstat locks for subsystems

Shakeel Butt
2025-02-22T00:23:14Z

On Mon, Feb 17, 2025 at 07:14:47PM -0800, JP Kobryn wrote:
> Add new rstat locks for each subsystem. When handling cgroup subsystem
> states, distinguish between states associated with formal subsystems
> (memory, io, etc) and the base stats subsystem state (represented by
> cgroup::self). This change is made to prevent contention when
> updating/flushing stats.
>
> Signed-off-by: JP Kobryn <inwardvessel@gmail.com>

This looks good as well.