Home
last modified time | relevance | path

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

/linux-5.19.10/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()
121 static bool oom_cpuset_eligible(struct task_struct *tsk, struct oom_control *oc) in oom_cpuset_eligible()
156 static inline bool is_sysrq_oom(struct oom_control *oc) in is_sysrq_oom()
251 static enum oom_constraint constrained_alloc(struct oom_control *oc) in constrained_alloc()
310 struct oom_control *oc = arg; in oom_evaluate_task()
364 static void select_bad_process(struct oom_control *oc) in select_bad_process()
383 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.c1631 struct oom_control oc = { in mem_cgroup_out_of_memory()
Dpage_alloc.c4299 struct oom_control oc = { in __alloc_pages_may_oom()
/linux-5.19.10/include/linux/
Doom.h29 struct oom_control { struct
114 extern bool out_of_memory(struct oom_control *oc);
/linux-5.19.10/Documentation/admin-guide/cgroup-v1/
Dmemory.rst89 memory.oom_control set/show oom controls.
285 (See oom_control section)
808 memory.oom_control file is for OOM notification and other controls.
817 - open memory.oom_control file
818 - write string like "<event_fd> <fd of memory.oom_control>" to
824 You can disable the OOM-killer by writing "1" to memory.oom_control file, as:
826 #echo 1 > memory.oom_control
/linux-5.19.10/drivers/tty/
Dsysrq.c388 struct oom_control oc = { in moom_callback()