]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/org.freedesktop.systemd1.xml
core: use our usual UINT32_MAX scaling for OOMD limits
authorLennart Poettering <lennart@poettering.net>
Wed, 17 Feb 2021 16:51:27 +0000 (17:51 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 18 Feb 2021 21:39:37 +0000 (22:39 +0100)
commitd9d3f05def0057cc064a05f8cbfb5f398779cd8c
treec0f9a610b20970ccd122bf1d373334792d0a1bd4
parent1ead0b2a7973782f4bacaab2d9deed94ac69d867
core: use our usual UINT32_MAX scaling for OOMD limits

So far OOMD limits used permyriads, as an upgrade from the original
percent.

The rest of our codebase typically scales stuff relative to UINT32_MAX.
Let's clean this up, an make sure this happens here too. This is
particularly relevant, as this is exposed in unit files and API, and
before we mark this stable we should get the APIs right.
man/org.freedesktop.systemd1.xml
src/core/cgroup.c
src/core/cgroup.h
src/core/core-varlink.c
src/core/dbus-cgroup.c
src/core/load-fragment-gperf.gperf.m4
src/core/load-fragment.c
src/oom/oomd-manager.c
src/shared/bus-unit-util.c