|
@@ -53,6 +53,7 @@
|
|
|
#include <linux/perf_event.h>
|
|
|
#include <linux/kprobes.h>
|
|
|
#include <linux/pipe_fs_i.h>
|
|
|
+#include <linux/oom.h>
|
|
|
|
|
|
#include <asm/uaccess.h>
|
|
|
#include <asm/processor.h>
|
|
@@ -85,9 +86,6 @@
|
|
|
/* External variables not in a header file. */
|
|
|
extern int sysctl_overcommit_memory;
|
|
|
extern int sysctl_overcommit_ratio;
|
|
|
-extern int sysctl_panic_on_oom;
|
|
|
-extern int sysctl_oom_kill_allocating_task;
|
|
|
-extern int sysctl_oom_dump_tasks;
|
|
|
extern int max_threads;
|
|
|
extern int core_uses_pid;
|
|
|
extern int suid_dumpable;
|