Searched refs:oom_score_adj (Results 1 – 13 of 13) sorted by relevance
/openbmc/linux/include/trace/events/ |
H A 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)
|
H A 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
|
/openbmc/linux/samples/bpf/ |
H A 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()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/ |
H A D | 0009-Do-not-disable-buffering-when-writing-to-oom_score_a.patch | 4 Subject: [PATCH 09/22] Do not disable buffering when writing to oom_score_adj 6 On musl, disabling buffering when writing to oom_score_adj will 33 return write_string_file("/proc/self/oom_score_adj", t,
|
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/ |
H A D | 0009-Do-not-disable-buffering-when-writing-to-oom_score_a.patch | 4 Subject: [PATCH 09/26] Do not disable buffering when writing to oom_score_adj 6 On musl, disabling buffering when writing to oom_score_adj will 33 return write_string_file("/proc/self/oom_score_adj", t,
|
/openbmc/linux/mm/ |
H A D | oom_kill.c | 220 adj = (long)p->signal->oom_score_adj; in oom_badness() 409 task->signal->oom_score_adj, task->comm); in dump_task() 463 current->signal->oom_score_adj); in dump_header() 963 mm_pgtables_bytes(mm) >> 10, victim->signal->oom_score_adj); in __oom_kill_process() 1012 if (task->signal->oom_score_adj != OOM_SCORE_ADJ_MIN && in oom_kill_memcg_member() 1158 current->signal->oom_score_adj != OOM_SCORE_ADJ_MIN) { in out_of_memory()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/ |
H A D | postgresql.init | 111 test x"$PG_OOM_ADJ" != x && echo "$PG_OOM_ADJ" > /proc/self/oom_score_adj
|
/openbmc/linux/fs/proc/ |
H A D | base.c | 1107 if (task->signal->oom_score_adj == OOM_SCORE_ADJ_MAX) in oom_adj_read() 1110 oom_adj = (task->signal->oom_score_adj * -OOM_DISABLE) / in oom_adj_read() 1131 if (oom_adj < task->signal->oom_score_adj && in __set_oom_adj() 1168 task->signal->oom_score_adj = oom_adj; in __set_oom_adj() 1187 p->signal->oom_score_adj = oom_adj; in __set_oom_adj() 1261 short oom_score_adj = OOM_SCORE_ADJ_MIN; in oom_score_adj_read() local 1266 oom_score_adj = task->signal->oom_score_adj; in oom_score_adj_read() 1268 len = snprintf(buffer, sizeof(buffer), "%hd\n", oom_score_adj); in oom_score_adj_read() 1276 int oom_score_adj; in oom_score_adj_write() local 1287 err = kstrtoint(strstrip(buffer), 0, &oom_score_adj); in oom_score_adj_write() [all …]
|
/openbmc/linux/kernel/ |
H A D | fork.c | 1889 sig->oom_score_adj = current->signal->oom_score_adj; in copy_signal() 2214 tsk->signal->oom_score_adj = current->signal->oom_score_adj; in copy_oom_score_adj()
|
/openbmc/linux/include/linux/sched/ |
H A D | signal.h | 231 short oom_score_adj; /* OOM kill score adjustment */ member
|
/openbmc/linux/Documentation/filesystems/ |
H A D | proc.rst | 37 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
|
/openbmc/linux/Documentation/admin-guide/sysctl/ |
H A D | vm.rst | 691 pid, uid, tgid, vm size, rss, pgtables_bytes, swapents, oom_score_adj
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | cgroup-v2.rst | 1289 Tasks with the OOM protection (oom_score_adj set to -1000)
|