Home
last modified time | relevance | path

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

/linux-6.15/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()
1113 if (oom_adj > OOM_ADJUST_MAX) in oom_adj_read()
1114 oom_adj = OOM_ADJUST_MAX; in oom_adj_read()
1168 task->signal->oom_score_adj = oom_adj; in __set_oom_adj()
1216 int oom_adj; in oom_adj_write() local
1229 if ((oom_adj < OOM_ADJUST_MIN || oom_adj > OOM_ADJUST_MAX) && in oom_adj_write()
1230 oom_adj != OOM_DISABLE) { in oom_adj_write()
1239 if (oom_adj == OOM_ADJUST_MAX) in oom_adj_write()
1240 oom_adj = OOM_SCORE_ADJ_MAX; in oom_adj_write()
[all …]
/linux-6.15/Documentation/filesystems/
H A Dproc.rst37 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj - Adjust the oom-killer
1732 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj- Adjust the oom-killer score
1770 For backwards compatibility with previous kernels, /proc/<pid>/oom_adj may also