]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/oom/oomd-util.c
systemd-oomd: unit testable helper functions
authorAnita Zhang <the.anitazha@gmail.com>
Sun, 8 Mar 2020 01:25:35 +0000 (17:25 -0800)
committerAnita Zhang <the.anitazha@gmail.com>
Thu, 8 Oct 2020 00:12:22 +0000 (17:12 -0700)
commit61ff7397d08375ce0950fb7b546c08e4a657f273
tree3300cb72ac3dfbcb2fef2c1b47f519693cb60da9
parent42b83e8e3324e2dc876c537aef2345d1939f10a1
systemd-oomd: unit testable helper functions

Helpers used by the systemd-oomd daemon to read/fill in various contexts and
make detection and kill decisions.

i.e. a simplified/less configurable version of
https://github.com/facebookincubator/oomd/tree/master/src/oomd.
meson.build
meson_options.txt
src/oom/meson.build [new file with mode: 0644]
src/oom/oomd-util.c [new file with mode: 0644]
src/oom/oomd-util.h [new file with mode: 0644]
src/oom/test-oomd-util.c [new file with mode: 0644]
src/shared/tests.c
src/shared/tests.h