Home
last modified time | relevance | path

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

/fs/proc/
Dbase.c1032 int oom_adj = OOM_ADJUST_MIN; in oom_adj_read() local
1038 oom_adj = OOM_ADJUST_MAX; in oom_adj_read()
1040 oom_adj = (task->signal->oom_score_adj * -OOM_DISABLE) / in oom_adj_read()
1043 len = snprintf(buffer, sizeof(buffer), "%d\n", oom_adj); in oom_adj_read()
1047 static int __set_oom_adj(struct file *file, int oom_adj, bool legacy) in __set_oom_adj() argument
1059 if (oom_adj < task->signal->oom_score_adj && in __set_oom_adj()
1072 if ((short)oom_adj < task->signal->oom_score_adj_min && in __set_oom_adj()
1096 task->signal->oom_score_adj = oom_adj; in __set_oom_adj()
1098 task->signal->oom_score_adj_min = (short)oom_adj; in __set_oom_adj()
1115 p->signal->oom_score_adj = oom_adj; in __set_oom_adj()
[all …]