Home
last modified time | relevance | path

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

/linux-2.6.39/fs/proc/
Dbase.c1126 task->signal->oom_score_adj = OOM_SCORE_ADJ_MAX; in oom_adjust_write()
1128 task->signal->oom_score_adj = (oom_adjust * OOM_SCORE_ADJ_MAX) / in oom_adjust_write()
1150 int oom_score_adj = OOM_SCORE_ADJ_MIN; in oom_score_adj_read() local
1157 oom_score_adj = task->signal->oom_score_adj; in oom_score_adj_read()
1161 len = snprintf(buffer, sizeof(buffer), "%d\n", oom_score_adj); in oom_score_adj_read()
1171 long oom_score_adj; in oom_score_adj_write() local
1182 err = strict_strtol(strstrip(buffer), 0, &oom_score_adj); in oom_score_adj_write()
1185 if (oom_score_adj < OOM_SCORE_ADJ_MIN || in oom_score_adj_write()
1186 oom_score_adj > OOM_SCORE_ADJ_MAX) { in oom_score_adj_write()
1208 if (oom_score_adj < task->signal->oom_score_adj_min && in oom_score_adj_write()
[all …]
/linux-2.6.39/mm/
Doom_kill.c196 points += p->signal->oom_score_adj; in oom_badness()
377 task->signal->oom_score_adj, task->comm); in dump_tasks()
389 current->signal->oom_score_adj); in dump_header()
/linux-2.6.39/Documentation/ABI/obsolete/
Dproc-pid-oom_adj15 A much more powerful interface, /proc/<pid>/oom_score_adj, was
/linux-2.6.39/kernel/
Dfork.c767 if (tsk->signal->oom_score_adj == OOM_SCORE_ADJ_MIN) in copy_mm()
931 sig->oom_score_adj = current->signal->oom_score_adj; in copy_signal()
1330 if (p->signal->oom_score_adj == OOM_SCORE_ADJ_MIN) in copy_process()
Dexit.c699 if (tsk->signal->oom_score_adj == OOM_SCORE_ADJ_MIN) in exit_mm()
/linux-2.6.39/Documentation/filesystems/
Dproc.txt36 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj - Adjust the oom-killer
1276 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj- Adjust the oom-killer score
1301 The value of /proc/<pid>/oom_score_adj is added to the badness score before it
1310 consider for each task. Setting a /proc/<pid>/oom_score_adj value of +500, for
1321 scaled linearly with /proc/<pid>/oom_score_adj.
1323 Writing to /proc/<pid>/oom_score_adj or /proc/<pid>/oom_adj will change the
1326 The value of /proc/<pid>/oom_score_adj may be reduced no lower than the last
/linux-2.6.39/fs/
Dexec.c805 if (old_mm && tsk->signal->oom_score_adj == OOM_SCORE_ADJ_MIN) { in exec_mmap()
/linux-2.6.39/include/linux/
Dsched.h638 int oom_score_adj; /* OOM kill score adjustment */ member
/linux-2.6.39/Documentation/
Dfeature-removal-schedule.txt160 A much more powerful interface, /proc/<pid>/oom_score_adj, was