]> git.ipfire.org Git - thirdparty/systemd.git/commit
oom: rework *MemoryPressureLimit= properties to have 1/10000 precision 18444/head
authorAnita Zhang <the.anitazha@gmail.com>
Tue, 2 Feb 2021 22:16:03 +0000 (14:16 -0800)
committerAnita Zhang <the.anitazha@gmail.com>
Wed, 3 Feb 2021 01:52:48 +0000 (17:52 -0800)
commit0a9f93443be9e04fa77317bc5e28742b433277c6
tree9b17a938938730ac1035f57f4d4ff8e09e5db5a9
parent94a8e2d6db689b0349091829e809e751fff9b812
oom: rework *MemoryPressureLimit= properties to have 1/10000 precision

Requested in
https://github.com/systemd/systemd/pull/15206#discussion_r505506657,
preserve the full granularity for memory pressure limits (permyriad)
instead of capping out at percent.
24 files changed:
docs/TRANSIENT-SETTINGS.md
man/oomd.conf.xml
man/org.freedesktop.systemd1.xml
man/systemd.resource-control.xml
src/core/cgroup.c
src/core/cgroup.h
src/core/core-varlink.c
src/core/dbus-cgroup.c
src/core/dbus-util.c
src/core/dbus-util.h
src/core/load-fragment-gperf.gperf.m4
src/core/load-fragment.c
src/oom/oomd-manager.c
src/oom/oomd-manager.h
src/oom/oomd-util.c
src/oom/oomd.c
src/oom/oomd.conf
src/shared/bus-get-properties.c
src/shared/bus-get-properties.h
src/shared/bus-unit-util.c
src/shared/conf-parser.c
src/shared/conf-parser.h
test/units/testsuite-56-workload.slice
test/units/testsuite-56.sh