Re: [RFC PATCH v2] cgroup: Track time in cgroup v2 freezer
From: Tejun Heo
Date: Thu Jul 17 2025 - 13:09:50 EST
On Thu, Jul 17, 2025 at 09:52:38PM +0800, Chen Ridong wrote:
> > With the given implementation (and use scenario), this'd better exposed
> > in
> > cgroup.freeze.stat.local
> >
>
> Would it be possible to add this field to either cgroup.event or cgroup.stat?
> Since the frozen status is already tracked in cgroup.event, this placement would maintain better
> cohesion with existing metrics.
>
> This is just a suggestion.
Yeah, given that the freezer is an integral part of cgroup core, using
cgroup.stat[.local] probably makes more sense.
Thanks.
--
tejun