Home
last modified time | relevance | path

Searched refs:oom_control (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/mm/
Doom_kill.c67 static inline bool is_memcg_oom(struct oom_control *oc) in is_memcg_oom()
86 struct oom_control *oc) in oom_cpuset_eligible()
120 static bool oom_cpuset_eligible(struct task_struct *tsk, struct oom_control *oc) in oom_cpuset_eligible()
155 static inline bool is_sysrq_oom(struct oom_control *oc) in is_sysrq_oom()
252 static enum oom_constraint constrained_alloc(struct oom_control *oc) in constrained_alloc()
311 struct oom_control *oc = arg; in oom_evaluate_task()
365 static void select_bad_process(struct oom_control *oc) in select_bad_process()
382 struct oom_control *oc = arg; in dump_task()
423 static void dump_tasks(struct oom_control *oc) in dump_tasks()
440 static void dump_oom_summary(struct oom_control *oc, struct task_struct *victim) in dump_oom_summary()
[all …]
Dmemcontrol.c1578 struct oom_control oc = { in mem_cgroup_out_of_memory()
Dpage_alloc.c3794 struct oom_control oc = { in __alloc_pages_may_oom()
/Linux-v5.4/include/linux/
Doom.h29 struct oom_control { struct
113 extern bool out_of_memory(struct oom_control *oc);
/Linux-v5.4/Documentation/admin-guide/cgroup-v1/
Dmemory.rst85 memory.oom_control set/show oom controls.
288 (See oom_control section)
835 memory.oom_control file is for OOM notification and other controls.
844 - open memory.oom_control file
845 - write string like "<event_fd> <fd of memory.oom_control>" to
851 You can disable the OOM-killer by writing "1" to memory.oom_control file, as:
853 #echo 1 > memory.oom_control
/Linux-v5.4/drivers/tty/
Dsysrq.c364 struct oom_control oc = { in moom_callback()