Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Doom.h19 struct oom_control { struct
81 extern void oom_kill_process(struct oom_control *oc, struct task_struct *p,
85 extern void check_panic_on_oom(struct oom_control *oc,
89 extern enum oom_scan_t oom_scan_process_thread(struct oom_control *oc,
92 extern bool out_of_memory(struct oom_control *oc);
/linux-4.4.14/mm/
Doom_kill.c125 static inline bool is_sysrq_oom(struct oom_control *oc) in is_sysrq_oom()
208 static enum oom_constraint constrained_alloc(struct oom_control *oc, in constrained_alloc()
258 static enum oom_constraint constrained_alloc(struct oom_control *oc, in constrained_alloc()
266 enum oom_scan_t oom_scan_process_thread(struct oom_control *oc, in oom_scan_process_thread()
300 static struct task_struct *select_bad_process(struct oom_control *oc, in select_bad_process()
386 static void dump_header(struct oom_control *oc, struct task_struct *p, in dump_header()
509 void oom_kill_process(struct oom_control *oc, struct task_struct *p, in oom_kill_process()
628 void check_panic_on_oom(struct oom_control *oc, enum oom_constraint constraint, in check_panic_on_oom()
673 bool out_of_memory(struct oom_control *oc) in out_of_memory()
746 struct oom_control oc = { in pagefault_out_of_memory()
Dmemcontrol.c1339 struct oom_control oc = { in mem_cgroup_out_of_memory()
Dpage_alloc.c2706 struct oom_control oc = { in __alloc_pages_may_oom()
/linux-4.4.14/Documentation/cgroups/
Dmemory.txt78 memory.oom_control # set/show oom controls.
260 (See oom_control section)
739 memory.oom_control file is for OOM notification and other controls.
747 - open memory.oom_control file
748 - write string like "<event_fd> <fd of memory.oom_control>" to
754 You can disable the OOM-killer by writing "1" to memory.oom_control file, as:
756 #echo 1 > memory.oom_control
Dunified-hierarchy.txt574 be manually counted by listening to memory.oom_control events, and
/linux-4.4.14/drivers/tty/
Dsysrq.c357 struct oom_control oc = { in moom_callback()