Home
last modified time | relevance | path

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

/Linux-v4.19/mm/
Doom_kill.c143 static inline bool is_sysrq_oom(struct oom_control *oc) in is_sysrq_oom()
148 static inline bool is_memcg_oom(struct oom_control *oc) in is_memcg_oom()
258 static enum oom_constraint constrained_alloc(struct oom_control *oc) in constrained_alloc()
317 struct oom_control *oc = arg; in oom_evaluate_task()
370 static void select_bad_process(struct oom_control *oc) in select_bad_process()
431 static void dump_header(struct oom_control *oc, struct task_struct *p) in dump_header()
925 static void oom_kill_process(struct oom_control *oc, const char *message) in oom_kill_process()
1008 static void check_panic_on_oom(struct oom_control *oc, in check_panic_on_oom()
1053 bool out_of_memory(struct oom_control *oc) in out_of_memory()
1132 struct oom_control oc = { in pagefault_out_of_memory()
Dmemcontrol.c1376 struct oom_control oc = { in mem_cgroup_out_of_memory()
Dpage_alloc.c3454 struct oom_control oc = { in __alloc_pages_may_oom()
/Linux-v4.19/include/linux/
Doom.h22 struct oom_control { struct
104 extern bool out_of_memory(struct oom_control *oc);
/Linux-v4.19/Documentation/cgroup-v1/
Dmemory.txt78 memory.oom_control # set/show oom controls.
260 (See oom_control section)
731 memory.oom_control file is for OOM notification and other controls.
739 - open memory.oom_control file
740 - write string like "<event_fd> <fd of memory.oom_control>" to
746 You can disable the OOM-killer by writing "1" to memory.oom_control file, as:
748 #echo 1 > memory.oom_control
/Linux-v4.19/drivers/tty/
Dsysrq.c371 struct oom_control oc = { in moom_callback()