Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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)
/kernel/linux/linux-5.10/mm/
Dlmkd_dbg_trigger.c39 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()
Dlowmem_dbg.c62 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()
Doom_kill.c218 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()
Dpurgeable_ashmem_trigger.c36 tsk->comm, tsk->pid, fd, (long)tsk->signal->oom_score_adj, in purgeable_ashmem_trigger_cb()
/kernel/linux/linux-5.10/samples/bpf/
Dtest_overhead_kprobe_kern.c27 u16 oom_score_adj; in prog() local
37 oom_score_adj = _(signal->oom_score_adj); in prog()
Dtest_overhead_tp_kern.c16 __u16 oom_score_adj; member
/kernel/linux/linux-5.10/include/linux/
Dlowmem_dbg.h11 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/
Dbase.c1071 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/
Dsignal.h221 short oom_score_adj; /* OOM kill score adjustment */ member
/kernel/linux/linux-5.10/kernel/
Dfork.c1622 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/
Dproc.rst37 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/
Dvm.rst652 pid, uid, tgid, vm size, rss, pgtables_bytes, swapents, oom_score_adj
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dcgroup-v2.rst1195 Tasks with the OOM protection (oom_score_adj set to -1000)
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0038_linux_drivers_mxc.patch161454 + oom_adj = sig->oom_score_adj;