core/cgroup: actually make use of the cached accounting values
authorMike Yuan <me@yhndnzj.com>
Thu, 13 Jun 2024 09:01:03 +0000 (11:01 +0200)
committerMike Yuan <me@yhndnzj.com>
Fri, 28 Jun 2024 13:43:21 +0000 (15:43 +0200)
commit3849d1f56b7ff9db94656ca84156eb9fe1574ecb
tree1398d7b1fe578079deb404169640ada709279a8e
parentd3d035395eeced715c9609aeb8bfac7157dd0aa9
core/cgroup: actually make use of the cached accounting values

If cgroup is already gone, i.e. CGRuntime.cgroup_path is NULL,
do not return -ENODATA prematurely, but check for cached values
first.

For #33149
src/core/cgroup.c