Home
last modified time | relevance | path

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

/linux-6.6.21/include/trace/events/
Dtask.h19 __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)
Doom.h19 __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.6.21/samples/bpf/
Dtest_overhead_kprobe.bpf.c20 u16 oom_score_adj; in prog() local
30 oom_score_adj = BPF_CORE_READ(signal, oom_score_adj); in prog()
/linux-6.6.21/mm/
Doom_kill.c218 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()
953 mm_pgtables_bytes(mm) >> 10, victim->signal->oom_score_adj); in __oom_kill_process()
1002 if (task->signal->oom_score_adj != OOM_SCORE_ADJ_MIN && in oom_kill_memcg_member()
1148 current->signal->oom_score_adj != OOM_SCORE_ADJ_MIN) { in out_of_memory()
/linux-6.6.21/fs/proc/
Dbase.c1048 if (task->signal->oom_score_adj == OOM_SCORE_ADJ_MAX) in oom_adj_read()
1051 oom_adj = (task->signal->oom_score_adj * -OOM_DISABLE) / 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()
1209 len = snprintf(buffer, sizeof(buffer), "%hd\n", 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()
[all …]
/linux-6.6.21/include/linux/sched/
Dsignal.h231 short oom_score_adj; /* OOM kill score adjustment */ member
/linux-6.6.21/kernel/
Dfork.c1891 sig->oom_score_adj = current->signal->oom_score_adj; in copy_signal()
2215 tsk->signal->oom_score_adj = current->signal->oom_score_adj; in copy_oom_score_adj()
/linux-6.6.21/Documentation/filesystems/
Dproc.rst37 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj - Adjust the oom-killer
1641 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj- Adjust the oom-killer score
1663 The value of /proc/<pid>/oom_score_adj is added to the badness score before it
1672 consider for each task. Setting a /proc/<pid>/oom_score_adj value of +500, for
1683 scaled linearly with /proc/<pid>/oom_score_adj.
1685 The value of /proc/<pid>/oom_score_adj may be reduced no lower than the last
1694 any given <pid>. Use it together with /proc/<pid>/oom_score_adj to tune which
1697 Please note that the exported value includes oom_score_adj so it is
/linux-6.6.21/Documentation/admin-guide/sysctl/
Dvm.rst691 pid, uid, tgid, vm size, rss, pgtables_bytes, swapents, oom_score_adj
/linux-6.6.21/Documentation/admin-guide/
Dcgroup-v2.rst1289 Tasks with the OOM protection (oom_score_adj set to -1000)