Searched refs:oom_score_adj (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/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 | 21 __field( short, oom_score_adj) 27 __entry->oom_score_adj = task->signal->oom_score_adj; 31 __entry->pid, __entry->comm, __entry->oom_score_adj) 90 __field(short, oom_score_adj) 102 __entry->oom_score_adj = task->signal->oom_score_adj; 114 __entry->oom_score_adj
|
/linux-6.12.1/samples/bpf/ |
D | test_overhead_kprobe.bpf.c | 20 u16 oom_score_adj; in prog() local 30 oom_score_adj = BPF_CORE_READ(signal, oom_score_adj); in prog()
|
/linux-6.12.1/mm/ |
D | oom_kill.c | 219 adj = (long)p->signal->oom_score_adj; in oom_badness() 409 task->signal->oom_score_adj, task->comm); in dump_task() 458 current->signal->oom_score_adj); in dump_header() 955 mm_pgtables_bytes(mm) >> 10, victim->signal->oom_score_adj); in __oom_kill_process() 1004 if (task->signal->oom_score_adj != OOM_SCORE_ADJ_MIN && in oom_kill_memcg_member() 1152 current->signal->oom_score_adj != OOM_SCORE_ADJ_MIN) { in out_of_memory()
|
/linux-6.12.1/fs/proc/ |
D | base.c | 1106 if (task->signal->oom_score_adj == OOM_SCORE_ADJ_MAX) in oom_adj_read() 1109 oom_adj = (task->signal->oom_score_adj * -OOM_DISABLE) / in oom_adj_read() 1130 if (oom_adj < task->signal->oom_score_adj && in __set_oom_adj() 1167 task->signal->oom_score_adj = oom_adj; in __set_oom_adj() 1186 p->signal->oom_score_adj = oom_adj; in __set_oom_adj() 1259 short oom_score_adj = OOM_SCORE_ADJ_MIN; in oom_score_adj_read() local 1264 oom_score_adj = task->signal->oom_score_adj; in oom_score_adj_read() 1266 len = snprintf(buffer, sizeof(buffer), "%hd\n", oom_score_adj); in oom_score_adj_read() 1274 int oom_score_adj; in oom_score_adj_write() local 1284 err = kstrtoint(strstrip(buffer), 0, &oom_score_adj); in oom_score_adj_write() [all …]
|
/linux-6.12.1/kernel/ |
D | fork.c | 1878 sig->oom_score_adj = current->signal->oom_score_adj; in copy_signal() 2093 tsk->signal->oom_score_adj = current->signal->oom_score_adj; in copy_oom_score_adj()
|
/linux-6.12.1/include/linux/sched/ |
D | signal.h | 232 short oom_score_adj; /* OOM kill score adjustment */ member
|
/linux-6.12.1/Documentation/filesystems/ |
D | proc.rst | 37 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj - Adjust the oom-killer 1687 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj- Adjust the oom-killer score 1709 The value of /proc/<pid>/oom_score_adj is added to the badness score before it 1718 consider for each task. Setting a /proc/<pid>/oom_score_adj value of +500, for 1729 scaled linearly with /proc/<pid>/oom_score_adj. 1731 The value of /proc/<pid>/oom_score_adj may be reduced no lower than the last 1740 any given <pid>. Use it together with /proc/<pid>/oom_score_adj to tune which 1743 Please note that the exported value includes oom_score_adj so it is
|
/linux-6.12.1/Documentation/admin-guide/sysctl/ |
D | vm.rst | 745 pid, uid, tgid, vm size, rss, pgtables_bytes, swapents, oom_score_adj
|
/linux-6.12.1/Documentation/admin-guide/ |
D | cgroup-v2.rst | 1366 Tasks with the OOM protection (oom_score_adj set to -1000)
|