core/cgroup: use the cached memory accounting value when cgroup is gone
authorMike Yuan <me@yhndnzj.com>
Fri, 24 Nov 2023 15:20:41 +0000 (23:20 +0800)
committerMike Yuan <me@yhndnzj.com>
Fri, 24 Nov 2023 16:38:49 +0000 (00:38 +0800)
commitf17b07f4d72238da95312920dcc2ad076568cba3
tree327d46537902fb67702a7bc7fbe0d59626555d9b
parentbfb6b1214a8da947cb82fed2eec3d7f2b1c6175f
core/cgroup: use the cached memory accounting value when cgroup is gone

Follow-up for 9824ab1f009e99b0b9d273ace4c98cc687a4c1d7

Fixes https://github.com/systemd/systemd/issues/28542#issuecomment-1825413237
src/core/cgroup.c