aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/oom.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/oom.h')
-rw-r--r--include/linux/oom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/oom.h b/include/linux/oom.h
index f209b683e118..5e3aa8311c5e 100644
--- a/include/linux/oom.h
+++ b/include/linux/oom.h
@@ -66,6 +66,8 @@ static inline void oom_killer_enable(void)
66extern unsigned long badness(struct task_struct *p, struct mem_cgroup *mem, 66extern unsigned long badness(struct task_struct *p, struct mem_cgroup *mem,
67 const nodemask_t *nodemask, unsigned long uptime); 67 const nodemask_t *nodemask, unsigned long uptime);
68 68
69extern struct task_struct *find_lock_task_mm(struct task_struct *p);
70
69/* sysctls */ 71/* sysctls */
70extern int sysctl_oom_dump_tasks; 72extern int sysctl_oom_dump_tasks;
71extern int sysctl_oom_kill_allocating_task; 73extern int sysctl_oom_kill_allocating_task;