Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/trace/events/
H A 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)
H A 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)
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dtest_overhead_kprobe_kern.c27 u16 oom_score_adj; in prog() local
37 oom_score_adj = _(signal->oom_score_adj); in prog()
H A Dtest_overhead_tp_kern.c16 __u16 oom_score_adj; member
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0014-Do-not-disable-buffering-when-writing-to-oom_score_a.patch4 Subject: [PATCH] Do not disable buffering when writing to oom_score_adj
6 On musl, disabling buffering when writing to oom_score_adj will
32 return write_string_file("/proc/self/oom_score_adj", t,
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/systemd/systemd/
H A D0014-Do-not-disable-buffering-when-writing-to-oom_score_a.patch4 Subject: [PATCH] Do not disable buffering when writing to oom_score_adj
6 On musl, disabling buffering when writing to oom_score_adj will
34 return write_string_file("/proc/self/oom_score_adj", t,
/OK3568_Linux_fs/kernel/mm/
H A Doom_kill.c222 adj = (long)p->signal->oom_score_adj; in oom_badness()
354 if (task->signal->oom_score_adj >= 0 && in oom_evaluate_task()
412 if (oc->chosen && oc->chosen->signal->oom_score_adj < 0) { in select_bad_process()
448 task->signal->oom_score_adj, task->comm); in dump_task()
497 current->signal->oom_score_adj); in dump_header()
946 mm_pgtables_bytes(mm) >> 10, victim->signal->oom_score_adj); in __oom_kill_process()
996 if (task->signal->oom_score_adj != OOM_SCORE_ADJ_MIN && in oom_kill_memcg_member()
1143 current->signal->oom_score_adj != OOM_SCORE_ADJ_MIN) { in out_of_memory()
/OK3568_Linux_fs/kernel/fs/proc/
H A Dbase.c1047 if (task->signal->oom_score_adj == OOM_SCORE_ADJ_MAX) in oom_adj_read()
1050 oom_adj = (task->signal->oom_score_adj * -OOM_DISABLE) / in oom_adj_read()
1071 if (oom_adj < task->signal->oom_score_adj && in __set_oom_adj()
1108 task->signal->oom_score_adj = oom_adj; in __set_oom_adj()
1127 p->signal->oom_score_adj = oom_adj; in __set_oom_adj()
1201 short oom_score_adj = OOM_SCORE_ADJ_MIN; in oom_score_adj_read() local
1206 oom_score_adj = task->signal->oom_score_adj; in oom_score_adj_read()
1208 len = snprintf(buffer, sizeof(buffer), "%hd\n", oom_score_adj); in oom_score_adj_read()
1216 int oom_score_adj; in oom_score_adj_write() local
1227 err = kstrtoint(strstrip(buffer), 0, &oom_score_adj); in oom_score_adj_write()
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/
H A Dpostgresql.init111 test x"$PG_OOM_ADJ" != x && echo "$PG_OOM_ADJ" > /proc/self/oom_score_adj
/OK3568_Linux_fs/kernel/include/linux/sched/
H A Dsignal.h222 short oom_score_adj; /* OOM kill score adjustment */ member
/OK3568_Linux_fs/kernel/kernel/
H A Dfork.c1648 sig->oom_score_adj = current->signal->oom_score_adj; in copy_signal()
1887 tsk->signal->oom_score_adj = current->signal->oom_score_adj; in copy_oom_score_adj()
/OK3568_Linux_fs/kernel/Documentation/filesystems/
H A Dproc.rst37 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj - Adjust the oom-killer
1630 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj- Adjust the oom-killer score
1652 The value of /proc/<pid>/oom_score_adj is added to the badness score before it
1661 consider for each task. Setting a /proc/<pid>/oom_score_adj value of +500, for
1672 scaled linearly with /proc/<pid>/oom_score_adj.
1674 The value of /proc/<pid>/oom_score_adj may be reduced no lower than the last
1683 any given <pid>. Use it together with /proc/<pid>/oom_score_adj to tune which
1686 Please note that the exported value includes oom_score_adj so it is
/OK3568_Linux_fs/kernel/Documentation/admin-guide/sysctl/
H A Dvm.rst677 pid, uid, tgid, vm size, rss, pgtables_bytes, swapents, oom_score_adj
/OK3568_Linux_fs/kernel/Documentation/admin-guide/
H A Dcgroup-v2.rst1196 Tasks with the OOM protection (oom_score_adj set to -1000)
/OK3568_Linux_fs/recovery/
HDrootfs.cpio.gz107070100A8AEB0000041ED0000000000000000000000116841B48100000000000000FD0000000200000000000000000000000200000000.�07070100A8B07C000081A40000000000000000000000016841263500000000000000FD0000000200000000000000000000000900000000.gitkeep��07070100A8B07D000081A40000000000000000000000016841263500000000000000FD0000000200000000000000000000000B00000000.skip_fsck����07070100A8AEB10000A1FF0000000000000000000000016841B0B600000007000000FD0000000200000000000000000000000400000000bin���usr/bin�07070100A8B07E000081A400000000000000000000000168412635000001CC000000FD0000000200000000000000000000001100000000busybox. ...