1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-26 10:03:40 +03:00
Lennart Poettering d06e7fb532 oomd: increase accuracy of SwapUsedLimit= to permyriads too
oomd.conf has two parameters with fractionals: SwapUsedLimit= and
DefaultMemoryPressureLimit=, but one accepts permyriads, the other only
percentages, for no apparent reason. One carries the "Percent" in the
name, the other doesn't.

Let's clean this up: always accept permyriads, and drop the suffix,
given that it is misleading.

I figure we should internally try to focus on scaling everything
relative to UINT32_MAX, and if that isn't in the cards at least 10000,
but never permille nor percent unless there's a really really good
reason for it (e.g. interface defined by someone else).
2021-02-18 22:40:47 +01:00
..
2021-02-15 21:34:00 +00:00
2020-11-25 09:48:17 +01:00
2020-12-17 20:02:32 +01:00
2020-12-16 18:30:15 +01:00
2020-03-27 20:12:44 +01:00
2020-12-17 20:02:32 +01:00
2020-12-16 17:21:48 +01:00
2021-01-04 11:01:17 +00:00
2021-01-04 11:01:17 +00:00
2021-01-04 11:01:17 +00:00
2021-01-25 12:31:17 +09:00
2020-12-18 12:59:29 +09:00
2021-01-15 10:33:28 +01:00
2021-02-04 19:17:50 +01:00
2021-02-17 15:31:29 +09:00
2020-11-09 13:23:58 +09:00
2020-12-17 20:02:32 +01:00
2020-12-16 17:21:48 +01:00
2020-12-17 20:02:32 +01:00