Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/samples/bpf/
Dtest_overhead_kprobe_kern.c21 u16 oom_score_adj; in prog() local
30 oom_score_adj = _(signal->oom_score_adj); in prog()
Dtest_overhead_tp_kern.c16 __u16 oom_score_adj; member
/Linux-v4.19/mm/
Doom_kill.c221 adj = (long)p->signal->oom_score_adj; in oom_badness()
425 task->signal->oom_score_adj, task->comm); in dump_tasks()
436 current->signal->oom_score_adj); in dump_header()
918 if (task->signal->oom_score_adj != OOM_SCORE_ADJ_MIN) { in oom_kill_memcg_member()
1099 current->signal->oom_score_adj != OOM_SCORE_ADJ_MIN) { in out_of_memory()
/Linux-v4.19/fs/proc/
Dbase.c1008 if (task->signal->oom_score_adj == OOM_SCORE_ADJ_MAX) in oom_adj_read()
1011 oom_adj = (task->signal->oom_score_adj * -OOM_DISABLE) / in oom_adj_read()
1031 if (oom_adj < task->signal->oom_score_adj && in __set_oom_adj()
1068 task->signal->oom_score_adj = oom_adj; in __set_oom_adj()
1089 p->signal->oom_score_adj, oom_adj, in __set_oom_adj()
1091 p->signal->oom_score_adj = oom_adj; in __set_oom_adj()
1165 short oom_score_adj = OOM_SCORE_ADJ_MIN; in oom_score_adj_read() local
1170 oom_score_adj = task->signal->oom_score_adj; in oom_score_adj_read()
1172 len = snprintf(buffer, sizeof(buffer), "%hd\n", oom_score_adj); in oom_score_adj_read()
1180 int oom_score_adj; in oom_score_adj_write() local
[all …]
/Linux-v4.19/include/linux/sched/
Dsignal.h226 short oom_score_adj; /* OOM kill score adjustment */ member
/Linux-v4.19/Documentation/filesystems/
Dproc.txt36 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj - Adjust the oom-killer
1475 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj- Adjust the oom-killer score
1500 The value of /proc/<pid>/oom_score_adj is added to the badness score before it
1509 consider for each task. Setting a /proc/<pid>/oom_score_adj value of +500, for
1520 scaled linearly with /proc/<pid>/oom_score_adj.
1522 The value of /proc/<pid>/oom_score_adj may be reduced no lower than the last
1536 any given <pid>. Use it together with /proc/<pid>/oom_score_adj to tune which
/Linux-v4.19/kernel/
Dfork.c1512 sig->oom_score_adj = current->signal->oom_score_adj; in copy_signal()
/Linux-v4.19/Documentation/sysctl/
Dvm.txt623 pid, uid, tgid, vm size, rss, pgtables_bytes, swapents, oom_score_adj
/Linux-v4.19/Documentation/admin-guide/
Dcgroup-v2.rst1086 Tasks with the OOM protection (oom_score_adj set to -1000)