Searched refs:oom_score_adj (Results 1 – 11 of 11) sorted by relevance
/linux-6.3-rc2/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-6.3-rc2/samples/bpf/ |
A D | test_overhead_kprobe.bpf.c | 26 u16 oom_score_adj; in prog() local 36 oom_score_adj = _(signal->oom_score_adj); in prog()
|
A D | test_overhead_tp.bpf.c | 16 __u16 oom_score_adj; member
|
/linux-6.3-rc2/mm/ |
A D | oom_kill.c | 218 adj = (long)p->signal->oom_score_adj; in oom_badness() 407 task->signal->oom_score_adj, task->comm); in dump_task() 456 current->signal->oom_score_adj); in dump_header() 955 mm_pgtables_bytes(mm) >> 10, victim->signal->oom_score_adj); in __oom_kill_process() 1005 if (task->signal->oom_score_adj != OOM_SCORE_ADJ_MIN && in oom_kill_memcg_member() 1153 current->signal->oom_score_adj != OOM_SCORE_ADJ_MIN) { in out_of_memory()
|
/linux-6.3-rc2/fs/proc/ |
A D | base.c | 1048 if (task->signal->oom_score_adj == OOM_SCORE_ADJ_MAX) in oom_adj_read() 1072 if (oom_adj < task->signal->oom_score_adj && in __set_oom_adj() 1109 task->signal->oom_score_adj = oom_adj; in __set_oom_adj() 1128 p->signal->oom_score_adj = oom_adj; in __set_oom_adj() 1202 short oom_score_adj = OOM_SCORE_ADJ_MIN; in oom_score_adj_read() local 1207 oom_score_adj = task->signal->oom_score_adj; in oom_score_adj_read() 1217 int oom_score_adj; in oom_score_adj_write() local 1228 err = kstrtoint(strstrip(buffer), 0, &oom_score_adj); in oom_score_adj_write() 1231 if (oom_score_adj < OOM_SCORE_ADJ_MIN || in oom_score_adj_write() 1232 oom_score_adj > OOM_SCORE_ADJ_MAX) { in oom_score_adj_write() [all …]
|
/linux-6.3-rc2/kernel/ |
A D | fork.c | 1749 sig->oom_score_adj = current->signal->oom_score_adj; in copy_signal() 1988 tsk->signal->oom_score_adj = current->signal->oom_score_adj; in copy_oom_score_adj()
|
/linux-6.3-rc2/include/linux/sched/ |
A D | signal.h | 231 short oom_score_adj; /* OOM kill score adjustment */ member
|
/linux-6.3-rc2/Documentation/filesystems/ |
A D | proc.rst | 37 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj - Adjust the oom-killer 1624 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj- Adjust the oom-killer score 1646 The value of /proc/<pid>/oom_score_adj is added to the badness score before it 1655 consider for each task. Setting a /proc/<pid>/oom_score_adj value of +500, for 1666 scaled linearly with /proc/<pid>/oom_score_adj. 1668 The value of /proc/<pid>/oom_score_adj may be reduced no lower than the last 1677 any given <pid>. Use it together with /proc/<pid>/oom_score_adj to tune which 1680 Please note that the exported value includes oom_score_adj so it is
|
/linux-6.3-rc2/Documentation/admin-guide/sysctl/ |
A D | vm.rst | 691 pid, uid, tgid, vm size, rss, pgtables_bytes, swapents, oom_score_adj
|
/linux-6.3-rc2/Documentation/admin-guide/ |
A D | cgroup-v2.rst | 1291 Tasks with the OOM protection (oom_score_adj set to -1000)
|
Completed in 43 milliseconds