pub struct OomControl {
pub oom_kill_disable: bool,
pub under_oom: bool,
pub oom_kill: u64,
}
Expand description
Controls statistics and controls about the OOM killer operating in this control group.
Fields§
§oom_kill_disable: bool
If true, the OOM killer has been disabled for the tasks in this control group.
under_oom: bool
Is the OOM killer currently running for the tasks in the control group?
oom_kill: u64
How many tasks were killed by the OOM killer so far.
Trait Implementations§
Source§impl Debug for OomControl
impl Debug for OomControl
Source§impl Default for OomControl
impl Default for OomControl
Source§fn default() -> OomControl
fn default() -> OomControl
Returns the “default value” for a type. Read more
Source§impl PartialEq for OomControl
impl PartialEq for OomControl
impl Eq for OomControl
impl StructuralPartialEq for OomControl
Auto Trait Implementations§
impl Freeze for OomControl
impl RefUnwindSafe for OomControl
impl Send for OomControl
impl Sync for OomControl
impl Unpin for OomControl
impl UnwindSafe for OomControl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more