]> git.ipfire.org Git - thirdparty/systemd.git/commit
mempress: change default PSI window duration to 2s
authorLennart Poettering <lennart@poettering.net>
Thu, 9 Mar 2023 11:34:23 +0000 (12:34 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 9 Mar 2023 21:31:20 +0000 (22:31 +0100)
commita617007417a09061a6f5f86b5751a080b3701b18
treefe65b1c8e5dcadadbc6fb074633adbfb143fed98
parent2208d9662313e90f4aa8d24f1573b8fbcd97120a
mempress: change default PSI window duration to 2s

This changes the PSI window duration we default to for watching memory
pressure events from 1s to 2s. This is because apparently the kernel
will soon disallow window durations other than 2s for unprivileged
processes.

Hence, we'll bump the threshold from 100m to 200ms, and the window from
1s to 2s.
man/systemd-system.conf.xml
man/systemd.resource-control.xml
src/basic/psi-util.h
src/libsystemd/sd-event/sd-event.c
test/units/testsuite-79.sh