On Fri, May 23, 2025 at 04:42:50PM -0700, Shakeel Butt <shakeel.butt@xxxxxxxxx> wrote: > Hmm these are scheduler events, how are these relevant to memory cgroup > or vmstat? Any reason to not expose these in cpu.stat? Good point. If I take it further -- this functionality needs neither memory controller (CONFIG_MEMCG) nor CPU controller (CONFIG_CGROUP_SCHED), so it might be technically calculated and exposed in _any_ cgroup (which would be same technical solution how cpu time is counted in cpu.stat regardless of CPU controller, cpu_stat_show()). Michal
Attachment:
signature.asc
Description: PGP signature