Home
last modified time | relevance | path

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

/Linux-v5.15/mm/
Doom_kill.c71 static inline bool is_memcg_oom(struct oom_control *oc) in is_memcg_oom()
90 struct oom_control *oc) in oom_cpuset_eligible()
124 static bool oom_cpuset_eligible(struct task_struct *tsk, struct oom_control *oc) in oom_cpuset_eligible()
159 static inline bool is_sysrq_oom(struct oom_control *oc) in is_sysrq_oom()
254 static enum oom_constraint constrained_alloc(struct oom_control *oc) in constrained_alloc()
313 struct oom_control *oc = arg; in oom_evaluate_task()
367 static void select_bad_process(struct oom_control *oc) in select_bad_process()
386 struct oom_control *oc = arg; in dump_task()
426 static void dump_tasks(struct oom_control *oc) in dump_tasks()
443 static void dump_oom_summary(struct oom_control *oc, struct task_struct *victim) in dump_oom_summary()
[all …]
Dmemcontrol.c1559 struct oom_control oc = { in mem_cgroup_out_of_memory()
Dpage_alloc.c4254 struct oom_control oc = { in __alloc_pages_may_oom()
/Linux-v5.15/include/linux/
Doom.h29 struct oom_control { struct
114 extern bool out_of_memory(struct oom_control *oc);
/Linux-v5.15/Documentation/admin-guide/cgroup-v1/
Dmemory.rst87 memory.oom_control set/show oom controls.
285 (See oom_control section)
813 memory.oom_control file is for OOM notification and other controls.
822 - open memory.oom_control file
823 - write string like "<event_fd> <fd of memory.oom_control>" to
829 You can disable the OOM-killer by writing "1" to memory.oom_control file, as:
831 #echo 1 > memory.oom_control
/Linux-v5.15/drivers/tty/
Dsysrq.c381 struct oom_control oc = { in moom_callback()