]> git.ipfire.org Git - thirdparty/systemd.git/commit
oomd: don't collect candidate stats on every interval
authorAnita Zhang <the.anitazha@gmail.com>
Tue, 6 Jul 2021 09:46:13 +0000 (02:46 -0700)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 6 Jul 2021 23:19:53 +0000 (00:19 +0100)
commitd61ee727f037ab4e07af720ab34055e9cafe9cec
tree8e4f46a8cf203cde65154124681130443a613280
parentb4b0f87c6275dde32769c2e75231caa1d4c21f9b
oomd: don't collect candidate stats on every interval

cb13961ada52c1b27f6d6c2c6e37a2901f01ed30 updated the oomd logic to
collect candidate data when a kill was about to happen. However there
was still a call left over in the main loop to collect candidate data on
every interval. Remove this since it's unneeded.

Fixes #20122
src/oom/oomd-manager.c