diff options
author | Anita Zhang <the.anitazha@gmail.com> | 2020-09-09 00:24:23 -0700 |
---|---|---|
committer | Anita Zhang <the.anitazha@gmail.com> | 2020-10-07 17:12:24 -0700 |
commit | fe8d22fb09ae6e5c4f27970bf29bf317d3c9d86a (patch) | |
tree | f02477e87a2e898093229448441c64fc7b2f8e6d /src/core/unit.h | |
parent | 9de5e32136949a531e71cb31170025c2e1d3430e (diff) | |
download | systemd-fe8d22fb09ae6e5c4f27970bf29bf317d3c9d86a.tar.gz |
core: systemd-oomd pid1 integration
Diffstat (limited to 'src/core/unit.h')
-rw-r--r-- | src/core/unit.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/unit.h b/src/core/unit.h index 9b2ea6c79f..1e6d7ccf6b 100644 --- a/src/core/unit.h +++ b/src/core/unit.h @@ -260,7 +260,10 @@ typedef struct Unit { nsec_t cpu_usage_base; nsec_t cpu_usage_last; /* the most recently read value */ - /* The current counter of the oom_kill field in the memory.events cgroup attribute */ + /* The current counter of processes sent SIGKILL by systemd-oomd */ + uint64_t managed_oom_kill_last; + + /* The current counter of the oom_kill field in the memory.events cgroup attribute */ uint64_t oom_kill_last; /* Where the io.stat data was at the time the unit was started */ |