Home
last modified time | relevance | path

Searched refs:oom_adj (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/fs/proc/
H A Dbase.c1102 int oom_adj = OOM_ADJUST_MIN; in oom_adj_read() local
1108 oom_adj = OOM_ADJUST_MAX; in oom_adj_read()
1110 oom_adj = (task->signal->oom_score_adj * -OOM_DISABLE) / in oom_adj_read()
1113 if (oom_adj > OOM_ADJUST_MAX) in oom_adj_read()
1114 oom_adj = OOM_ADJUST_MAX; in oom_adj_read()
1115 len = snprintf(buffer, sizeof(buffer), "%d\n", oom_adj); in oom_adj_read()
1119 static int __set_oom_adj(struct file *file, int oom_adj, bool legacy) in __set_oom_adj() argument
1131 if (oom_adj < task->signal->oom_score_adj && in __set_oom_adj()
1144 if ((short)oom_adj < task->signal->oom_score_adj_min && in __set_oom_adj()
1168 task->signal->oom_score_adj = oom_adj; in __set_oom_adj()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/build/
H A D0001-Riscv-Add-risc-v-Android-config-header.patch85 + * where we can write to /proc/<pid>/oom_adj to modify the out-of-memory
/openbmc/linux/Documentation/filesystems/
H A Dproc.rst37 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj - Adjust the oom-killer
1641 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj- Adjust the oom-killer score
1679 For backwards compatibility with previous kernels, /proc/<pid>/oom_adj may also