]> git.ipfire.org Git - thirdparty/systemd.git/commit
oomd: implement a prekill hook (#38584)
authorLennart Poettering <lennart@amutable.com>
Mon, 9 Feb 2026 07:43:13 +0000 (08:43 +0100)
committerGitHub <noreply@github.com>
Mon, 9 Feb 2026 07:43:13 +0000 (08:43 +0100)
commitdd8c12e5ec2416838401350a75f1df24f3bcb6cf
tree0da909b4743d7355dcd0e14cf2d8c2dcc546fad2
parent595ea7c2e8032c703e5abd58501f0ffee4345e4f
parentc1bf450fa06e1d120a5d4ca782e82a68b8662b09
oomd: implement a prekill hook (#38584)

When a cgroup is selected for termination, send varlink messages to
hooks registered in `/run/systemd/oomd.prekill-hooks/`.
oomd waits up to `PreKillTimeoutSec=` seconds for response before
proceeding with the kill.