pub fn oom_recent(
count: u64,
seen: Option<(u64, u64)>,
now: u64,
) -> (bool, (u64, u64))Expand description
Whether the kernel’s OOM count says a kill is recent, and what to keep:
the count and when it last rose. The counter is cumulative since boot,
so a kill counts as recent when the count rose since the last look, or
rose within OOM_RECENT_S; a first look that finds kills cannot date
them and counts them as recent. The record lives in the runtime
directory, which a reboot clears with the counter.