Searched refs:oom_score_adj (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/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-v4.19/samples/bpf/ |
D | test_overhead_kprobe_kern.c | 21 u16 oom_score_adj; in prog() local 30 oom_score_adj = _(signal->oom_score_adj); in prog()
|
D | test_overhead_tp_kern.c | 16 __u16 oom_score_adj; member
|
/Linux-v4.19/mm/ |
D | oom_kill.c | 221 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/ |
D | base.c | 1008 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/ |
D | signal.h | 226 short oom_score_adj; /* OOM kill score adjustment */ member
|
/Linux-v4.19/Documentation/filesystems/ |
D | proc.txt | 36 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/ |
D | fork.c | 1512 sig->oom_score_adj = current->signal->oom_score_adj; in copy_signal()
|
/Linux-v4.19/Documentation/sysctl/ |
D | vm.txt | 623 pid, uid, tgid, vm size, rss, pgtables_bytes, swapents, oom_score_adj
|
/Linux-v4.19/Documentation/admin-guide/ |
D | cgroup-v2.rst | 1086 Tasks with the OOM protection (oom_score_adj set to -1000)
|