Searched refs:oom_score_adj (Results 1 – 11 of 11) sorted by relevance
/linux/include/trace/events/ |
A D | task.h | 19 __field( short, oom_score_adj) 26 __entry->oom_score_adj = task->signal->oom_score_adj; 31 __entry->clone_flags, __entry->oom_score_adj) 44 __field( short, oom_score_adj) 51 __entry->oom_score_adj = task->signal->oom_score_adj; 56 __entry->newcomm, __entry->oom_score_adj)
|
A D | oom.h | 19 __field( short, oom_score_adj) 25 __entry->oom_score_adj = task->signal->oom_score_adj; 29 __entry->pid, __entry->comm, __entry->oom_score_adj)
|
/linux/samples/bpf/ |
A D | test_overhead_kprobe_kern.c | 27 u16 oom_score_adj; in prog() local 37 oom_score_adj = _(signal->oom_score_adj); in prog()
|
A D | test_overhead_tp_kern.c | 16 __u16 oom_score_adj; member
|
/linux/mm/ |
A D | oom_kill.c | 221 adj = (long)p->signal->oom_score_adj; in oom_badness() 410 task->signal->oom_score_adj, task->comm); in dump_task() 459 current->signal->oom_score_adj); in dump_header() 901 mm_pgtables_bytes(mm) >> 10, victim->signal->oom_score_adj); in __oom_kill_process() 951 if (task->signal->oom_score_adj != OOM_SCORE_ADJ_MIN && in oom_kill_memcg_member() 1098 current->signal->oom_score_adj != OOM_SCORE_ADJ_MIN) { in out_of_memory()
|
/linux/fs/proc/ |
A D | base.c | 1049 if (task->signal->oom_score_adj == OOM_SCORE_ADJ_MAX) in oom_adj_read() 1073 if (oom_adj < task->signal->oom_score_adj && in __set_oom_adj() 1110 task->signal->oom_score_adj = oom_adj; in __set_oom_adj() 1129 p->signal->oom_score_adj = oom_adj; in __set_oom_adj() 1203 short oom_score_adj = OOM_SCORE_ADJ_MIN; in oom_score_adj_read() local 1208 oom_score_adj = task->signal->oom_score_adj; in oom_score_adj_read() 1218 int oom_score_adj; in oom_score_adj_write() local 1229 err = kstrtoint(strstrip(buffer), 0, &oom_score_adj); in oom_score_adj_write() 1232 if (oom_score_adj < OOM_SCORE_ADJ_MIN || in oom_score_adj_write() 1233 oom_score_adj > OOM_SCORE_ADJ_MAX) { in oom_score_adj_write() [all …]
|
/linux/kernel/ |
A D | fork.c | 1676 sig->oom_score_adj = current->signal->oom_score_adj; in copy_signal() 1914 tsk->signal->oom_score_adj = current->signal->oom_score_adj; in copy_oom_score_adj()
|
/linux/include/linux/sched/ |
A D | signal.h | 234 short oom_score_adj; /* OOM kill score adjustment */ member
|
/linux/Documentation/filesystems/ |
A D | proc.rst | 37 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj - Adjust the oom-killer 1644 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj- Adjust the oom-killer score 1666 The value of /proc/<pid>/oom_score_adj is added to the badness score before it 1675 consider for each task. Setting a /proc/<pid>/oom_score_adj value of +500, for 1686 scaled linearly with /proc/<pid>/oom_score_adj. 1688 The value of /proc/<pid>/oom_score_adj may be reduced no lower than the last 1697 any given <pid>. Use it together with /proc/<pid>/oom_score_adj to tune which 1700 Please note that the exported value includes oom_score_adj so it is
|
/linux/Documentation/admin-guide/sysctl/ |
A D | vm.rst | 653 pid, uid, tgid, vm size, rss, pgtables_bytes, swapents, oom_score_adj
|
/linux/Documentation/admin-guide/ |
A D | cgroup-v2.rst | 1222 Tasks with the OOM protection (oom_score_adj set to -1000)
|
Completed in 32 milliseconds