There's been some recent PRs focusing on reducing allocs for cgroups1 with some wonderful work [here](https://github.com/containerd/cgroups/pull/275) and [here](https://github.com/containerd/cgroups/pull/278). There's [some spots for cgroups2](https://github.com/containerd/cgroups/pull/278#issuecomment-1496720308) that could be improved also. Pasting inline: - getStatFileContentUint64 ([uses os.ReadFile](https://github.com/containerd/cgroups/blob/49edf542aa03131efa6545a292f1deec4be5290e/cgroup2/utils.go#L245)) - readSingleFile ([uses io.ReadAll](https://github.com/containerd/cgroups/blob/49edf542aa03131efa6545a292f1deec4be5290e/cgroup2/manager.go#L662))