/kernel/linux/linux-5.10/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)
|
/kernel/linux/linux-5.10/mm/ |
D | lmkd_dbg_trigger.c | 39 int oom_score_adj; in lmkd_dbg_trigger_write() local 50 err = kstrtoint(strstrip(buffer), 0, &oom_score_adj); in lmkd_dbg_trigger_write() 54 if (oom_score_adj < OOM_SCORE_ADJ_MIN || in lmkd_dbg_trigger_write() 55 oom_score_adj > OOM_SCORE_ADJ_MAX) { in lmkd_dbg_trigger_write() 60 lmkd_oom_score_adj = oom_score_adj; in lmkd_dbg_trigger_write() 61 lowmem_dbg(oom_score_adj); in lmkd_dbg_trigger_write()
|
D | lowmem_dbg.c | 62 tsk_oom_adj = task->signal->oom_score_adj; in tasks_dump() 103 void lowmem_dbg(short oom_score_adj) in lowmem_dbg() argument 107 if (oom_score_adj == 0) { in lowmem_dbg()
|
D | oom_kill.c | 218 adj = (long)p->signal->oom_score_adj; in oom_badness() 408 task->signal->oom_score_adj, task->comm); in dump_task() 457 current->signal->oom_score_adj); in dump_header() 923 mm_pgtables_bytes(mm) >> 10, victim->signal->oom_score_adj); in __oom_kill_process() 973 if (task->signal->oom_score_adj != OOM_SCORE_ADJ_MIN && in oom_kill_memcg_member() 1120 current->signal->oom_score_adj != OOM_SCORE_ADJ_MIN) { in out_of_memory()
|
D | purgeable_ashmem_trigger.c | 36 tsk->comm, tsk->pid, fd, (long)tsk->signal->oom_score_adj, in purgeable_ashmem_trigger_cb()
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | test_overhead_kprobe_kern.c | 27 u16 oom_score_adj; in prog() local 37 oom_score_adj = _(signal->oom_score_adj); in prog()
|
D | test_overhead_tp_kern.c | 16 __u16 oom_score_adj; member
|
/kernel/linux/linux-5.10/include/linux/ |
D | lowmem_dbg.h | 11 void lowmem_dbg(short oom_score_adj); 13 static inline void lowmem_dbg(short oom_score_adj) {} in lowmem_dbg() argument
|
/kernel/linux/linux-5.10/fs/proc/ |
D | base.c | 1071 if (task->signal->oom_score_adj == OOM_SCORE_ADJ_MAX) in oom_adj_read() 1074 oom_adj = (task->signal->oom_score_adj * -OOM_DISABLE) / in oom_adj_read() 1095 if (oom_adj < task->signal->oom_score_adj && in __set_oom_adj() 1132 task->signal->oom_score_adj = oom_adj; in __set_oom_adj() 1151 p->signal->oom_score_adj = oom_adj; in __set_oom_adj() 1225 short oom_score_adj = OOM_SCORE_ADJ_MIN; in oom_score_adj_read() local 1230 oom_score_adj = task->signal->oom_score_adj; in oom_score_adj_read() 1232 len = snprintf(buffer, sizeof(buffer), "%hd\n", oom_score_adj); in oom_score_adj_read() 1240 int oom_score_adj; in oom_score_adj_write() local 1251 err = kstrtoint(strstrip(buffer), 0, &oom_score_adj); in oom_score_adj_write() [all …]
|
/kernel/linux/linux-5.10/include/linux/sched/ |
D | signal.h | 221 short oom_score_adj; /* OOM kill score adjustment */ member
|
/kernel/linux/linux-5.10/kernel/ |
D | fork.c | 1622 sig->oom_score_adj = current->signal->oom_score_adj; in copy_signal() 1861 tsk->signal->oom_score_adj = current->signal->oom_score_adj; in copy_oom_score_adj()
|
/kernel/linux/linux-5.10/Documentation/filesystems/ |
D | proc.rst | 37 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj - Adjust the oom-killer 1625 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj- Adjust the oom-killer score 1647 The value of /proc/<pid>/oom_score_adj is added to the badness score before it 1656 consider for each task. Setting a /proc/<pid>/oom_score_adj value of +500, for 1667 scaled linearly with /proc/<pid>/oom_score_adj. 1669 The value of /proc/<pid>/oom_score_adj may be reduced no lower than the last 1678 any given <pid>. Use it together with /proc/<pid>/oom_score_adj to tune which 1681 Please note that the exported value includes oom_score_adj so it is
|
/kernel/linux/linux-5.10/Documentation/admin-guide/sysctl/ |
D | vm.rst | 652 pid, uid, tgid, vm size, rss, pgtables_bytes, swapents, oom_score_adj
|
/kernel/linux/linux-5.10/Documentation/admin-guide/ |
D | cgroup-v2.rst | 1195 Tasks with the OOM protection (oom_score_adj set to -1000)
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0038_linux_drivers_mxc.patch | 161454 + oom_adj = sig->oom_score_adj;
|