Searched refs:oom_score_adj (Results 1 – 9 of 9) sorted by relevance
/linux-2.6.39/fs/proc/ |
D | base.c | 1126 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/ |
D | oom_kill.c | 196 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/ |
D | proc-pid-oom_adj | 15 A much more powerful interface, /proc/<pid>/oom_score_adj, was
|
/linux-2.6.39/kernel/ |
D | fork.c | 767 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()
|
D | exit.c | 699 if (tsk->signal->oom_score_adj == OOM_SCORE_ADJ_MIN) in exit_mm()
|
/linux-2.6.39/Documentation/filesystems/ |
D | proc.txt | 36 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/ |
D | exec.c | 805 if (old_mm && tsk->signal->oom_score_adj == OOM_SCORE_ADJ_MIN) { in exec_mmap()
|
/linux-2.6.39/include/linux/ |
D | sched.h | 638 int oom_score_adj; /* OOM kill score adjustment */ member
|
/linux-2.6.39/Documentation/ |
D | feature-removal-schedule.txt | 160 A much more powerful interface, /proc/<pid>/oom_score_adj, was
|