Searched refs:oom_score_adj (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.15/include/trace/events/ |
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)
|
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-v5.15/samples/bpf/ |
D | test_overhead_kprobe_kern.c | 27 u16 oom_score_adj; in prog() local 37 oom_score_adj = _(signal->oom_score_adj); in prog()
|
D | test_overhead_tp_kern.c | 16 __u16 oom_score_adj; member
|
/Linux-v5.15/mm/ |
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() 899 mm_pgtables_bytes(mm) >> 10, victim->signal->oom_score_adj); in __oom_kill_process() 949 if (task->signal->oom_score_adj != OOM_SCORE_ADJ_MIN && in oom_kill_memcg_member() 1096 current->signal->oom_score_adj != OOM_SCORE_ADJ_MIN) { in out_of_memory()
|
/Linux-v5.15/fs/proc/ |
D | base.c | 1046 if (task->signal->oom_score_adj == OOM_SCORE_ADJ_MAX) in oom_adj_read() 1049 oom_adj = (task->signal->oom_score_adj * -OOM_DISABLE) / in oom_adj_read() 1070 if (oom_adj < task->signal->oom_score_adj && in __set_oom_adj() 1107 task->signal->oom_score_adj = oom_adj; in __set_oom_adj() 1126 p->signal->oom_score_adj = oom_adj; in __set_oom_adj() 1200 short oom_score_adj = OOM_SCORE_ADJ_MIN; in oom_score_adj_read() local 1205 oom_score_adj = task->signal->oom_score_adj; in oom_score_adj_read() 1207 len = snprintf(buffer, sizeof(buffer), "%hd\n", oom_score_adj); in oom_score_adj_read() 1215 int oom_score_adj; in oom_score_adj_write() local 1226 err = kstrtoint(strstrip(buffer), 0, &oom_score_adj); in oom_score_adj_write() [all …]
|
/Linux-v5.15/include/linux/sched/ |
D | signal.h | 221 short oom_score_adj; /* OOM kill score adjustment */ member
|
/Linux-v5.15/kernel/ |
D | fork.c | 1679 sig->oom_score_adj = current->signal->oom_score_adj; in copy_signal() 1917 tsk->signal->oom_score_adj = current->signal->oom_score_adj; in copy_oom_score_adj()
|
/Linux-v5.15/Documentation/filesystems/ |
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-v5.15/Documentation/admin-guide/sysctl/ |
D | vm.rst | 653 pid, uid, tgid, vm size, rss, pgtables_bytes, swapents, oom_score_adj
|
/Linux-v5.15/Documentation/admin-guide/ |
D | cgroup-v2.rst | 1214 Tasks with the OOM protection (oom_score_adj set to -1000)
|