cgroup: Check ancestor memory min for unified memory config
authorChris Down <chris@chrisdown.name>
Mon, 30 Sep 2019 17:24:26 +0000 (18:24 +0100)
committerThe Plumber <50238977+systemd-rhel-bot@users.noreply.github.com>
Mon, 8 Jun 2020 20:00:46 +0000 (22:00 +0200)
commit49c990010f48b429b52f73f54d70d529f0d2c7fe
treeb2e33b6fd25d4301b968bd73d4015241e76996ad
parentef4157dab3d267c33ec2a06ae9bb5e4c87f785a6
cgroup: Check ancestor memory min for unified memory config

Otherwise we might not enable it when we should, ie. DefaultMemoryMin is
set in a parent, but not MemoryMin in the current unit.

(cherry picked from commit 7c9d2b79935d413389a603918a711df75acd3f48)

Related: #1763435
src/core/cgroup.c