Oran Agra f08fd95c66 Fix oom-score-adj-values range, abs options, and bug when used in config file (#8046)
Fix: When oom-score-adj-values is provided in the config file after
oom-score-adj yes, it'll take an immediate action, before
readOOMScoreAdj was acquired, resulting in an error (out of range score
due to uninitialized value. delay the reaction the real call is made by
main().

Since the values are clamped to -1000..1000, and they're
applied as an offset from the value at startup (which may be -1000), we
need to allow the offsets to reach to +2000 so that a value of +1000 is
achievable in case the value at startup was -1000.

Adding an option for absolute values rather than relative ones.
2020-11-22 13:57:56 +02:00
..
2020-11-08 08:32:38 +02:00
2020-11-09 21:48:56 -08:00
2019-11-20 20:39:04 -05:00
2020-05-05 10:20:48 +02:00
2020-04-24 17:00:03 -07:00
2020-04-24 17:11:21 -07:00
2019-02-24 21:38:15 +01:00
2020-11-08 08:32:38 +02:00
2020-10-27 15:04:18 +02:00
2020-10-27 15:04:18 +02:00
2020-10-20 09:12:24 +03:00
2020-05-05 23:35:08 -04:00
2020-09-29 15:52:13 +03:00
2019-11-19 17:23:47 +08:00
2019-10-02 11:30:20 +02:00
2020-07-24 14:40:19 +08:00
2018-11-11 18:49:55 +00:00
2020-11-17 12:03:05 +02:00
2020-11-17 12:03:05 +02:00
2020-11-17 12:03:05 +02:00
2020-07-21 08:13:05 +03:00