]> git.ipfire.org Git - thirdparty/systemd.git/commit
cgroup: Respect DefaultMemoryMin when setting memory.min
authorChris Down <chris@chrisdown.name>
Mon, 30 Sep 2019 17:25:09 +0000 (18:25 +0100)
committerChris Down <chris@chrisdown.name>
Mon, 30 Sep 2019 17:41:21 +0000 (18:41 +0100)
commit64fe532e90b3e99bf7821ded8a1107c239099e40
tree3336e2295c2f5925a35d70926e7a60ea08dc9f22
parent7c9d2b79935d413389a603918a711df75acd3f48
cgroup: Respect DefaultMemoryMin when setting memory.min

This is an oversight from https://github.com/systemd/systemd/pull/12332.

Sadly the tests didn't catch it since it requires a real cgroup
hierarchy to see, and it wasn't seen in prod since we're only currently
using DefaultMemoryLow, not DefaultMemoryMin. :-(
src/core/cgroup.c