diff options
author | Nishal Kulkarni <nishalkulkarni@gmail.com> | 2022-03-14 00:35:18 +0530 |
---|---|---|
committer | Nishal Kulkarni <nishalkulkarni@gmail.com> | 2022-03-22 17:57:59 +0530 |
commit | 38c41427c7ee9a6209b84e7b17b1df5774d8f1ed (patch) | |
tree | d158d3034c88b278b10de3624b46d0ed794b268f /docs/USER_GROUP_API.md | |
parent | f7829525be46ddeddcbac39d7f31b12fae52cb5e (diff) | |
download | systemd-38c41427c7ee9a6209b84e7b17b1df5774d8f1ed.tar.gz |
core/oomd: Use oom-kill ServiceResult for oomd
To notify user of kill events from systemd-oomd we now use
`SERVICE_FAILURE_OOM_KILL` as the failure result.
`unit_check_oomd_kill` now calls `notify_cgroup_oom` to
update the service result to `oom-kill`.
We add a new xattr `user.oomd_ooms` to keep track of the OOM kills
initiated by systemd-oomd, this helps us resolve a race between sending
SIGKILL to processes and checking for OOM kill status from the xattr.
Related to: #20649
Diffstat (limited to 'docs/USER_GROUP_API.md')
0 files changed, 0 insertions, 0 deletions