MCPcopy Create free account
hub / github.com/Starry-OS/StarryOS / oom_score_adj

Method oom_score_adj

core/src/task.rs:128–130  ·  view source on GitHub ↗

Get the oom score adjustment value.

(&self)

Source from the content-addressed store, hash-verified

126
127 /// Get the oom score adjustment value.
128 pub fn oom_score_adj(&self) -> i32 {
129 self.oom_score_adj.load(Ordering::SeqCst)
130 }
131
132 /// Set the oom score adjustment value.
133 pub fn set_oom_score_adj(&self, value: i32) {

Callers 1

lookup_childMethod · 0.80

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected