LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] mm/oom_kill.c: proper externs
@ 2008-02-25  0:08 Adrian Bunk
  0 siblings, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2008-02-25  0:08 UTC (permalink / raw)
  To: linux-kernel

This patch adds proper extern declarations for three variables in 
include/linux/oom.h

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

 include/linux/oom.h |    4 ++++
 kernel/sysctl.c     |    4 +---
 2 files changed, 5 insertions(+), 3 deletions(-)

5ac59cd3de28fdad038576ebef6a2ac41c5d7c69 diff --git a/include/linux/oom.h b/include/linux/oom.h
index 3852436..f76bf07 100644
--- a/include/linux/oom.h
+++ b/include/linux/oom.h
@@ -23,6 +23,10 @@ enum oom_constraint {
 	CONSTRAINT_MEMORY_POLICY,
 };
 
+extern int sysctl_panic_on_oom;
+extern int sysctl_oom_kill_allocating_task;
+extern int sysctl_oom_dump_tasks;
+
 extern int try_set_zone_oom(struct zonelist *zonelist);
 extern void clear_zonelist_oom(struct zonelist *zonelist);
 
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 8b7e954..ffb687c 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -45,6 +45,7 @@
 #include <linux/nfs_fs.h>
 #include <linux/acpi.h>
 #include <linux/reboot.h>
+#include <linux/oom.h>
 
 #include <asm/uaccess.h>
 #include <asm/processor.h>
@@ -64,9 +65,6 @@ extern int C_A_D;
 extern int print_fatal_signals;
 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;


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [2.6 patch] mm/oom_kill.c: proper externs
@ 2008-04-21 22:50 Adrian Bunk
  0 siblings, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2008-04-21 22:50 UTC (permalink / raw)
  To: linux-kernel

This patch adds proper extern declarations for three variables in 
include/linux/oom.h

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

This patch has been sent on:
- 14 Apr 2008
- 31 Mar 2008
- 25 Feb 2008

 include/linux/oom.h |    4 ++++
 kernel/sysctl.c     |    4 +---
 2 files changed, 5 insertions(+), 3 deletions(-)

5ac59cd3de28fdad038576ebef6a2ac41c5d7c69 diff --git a/include/linux/oom.h b/include/linux/oom.h
index 3852436..f76bf07 100644
--- a/include/linux/oom.h
+++ b/include/linux/oom.h
@@ -23,6 +23,10 @@ enum oom_constraint {
 	CONSTRAINT_MEMORY_POLICY,
 };
 
+extern int sysctl_panic_on_oom;
+extern int sysctl_oom_kill_allocating_task;
+extern int sysctl_oom_dump_tasks;
+
 extern int try_set_zone_oom(struct zonelist *zonelist);
 extern void clear_zonelist_oom(struct zonelist *zonelist);
 
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 8b7e954..ffb687c 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -45,6 +45,7 @@
 #include <linux/nfs_fs.h>
 #include <linux/acpi.h>
 #include <linux/reboot.h>
+#include <linux/oom.h>
 
 #include <asm/uaccess.h>
 #include <asm/processor.h>
@@ -64,9 +65,6 @@ extern int C_A_D;
 extern int print_fatal_signals;
 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;


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [2.6 patch] mm/oom_kill.c: proper externs
@ 2008-04-14 18:14 Adrian Bunk
  0 siblings, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2008-04-14 18:14 UTC (permalink / raw)
  To: linux-kernel

This patch adds proper extern declarations for three variables in 
include/linux/oom.h

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

This patch has been sent on:
- 31 Mar 2008
- 25 Feb 2008

 include/linux/oom.h |    4 ++++
 kernel/sysctl.c     |    4 +---
 2 files changed, 5 insertions(+), 3 deletions(-)

5ac59cd3de28fdad038576ebef6a2ac41c5d7c69 diff --git a/include/linux/oom.h b/include/linux/oom.h
index 3852436..f76bf07 100644
--- a/include/linux/oom.h
+++ b/include/linux/oom.h
@@ -23,6 +23,10 @@ enum oom_constraint {
 	CONSTRAINT_MEMORY_POLICY,
 };
 
+extern int sysctl_panic_on_oom;
+extern int sysctl_oom_kill_allocating_task;
+extern int sysctl_oom_dump_tasks;
+
 extern int try_set_zone_oom(struct zonelist *zonelist);
 extern void clear_zonelist_oom(struct zonelist *zonelist);
 
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 8b7e954..ffb687c 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -45,6 +45,7 @@
 #include <linux/nfs_fs.h>
 #include <linux/acpi.h>
 #include <linux/reboot.h>
+#include <linux/oom.h>
 
 #include <asm/uaccess.h>
 #include <asm/processor.h>
@@ -64,9 +65,6 @@ extern int C_A_D;
 extern int print_fatal_signals;
 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;


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [2.6 patch] mm/oom_kill.c: proper externs
@ 2008-03-30 22:53 Adrian Bunk
  0 siblings, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2008-03-30 22:53 UTC (permalink / raw)
  To: linux-kernel

This patch adds proper extern declarations for three variables in 
include/linux/oom.h

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

This patch has been sent on:
- 25 Feb 2008

 include/linux/oom.h |    4 ++++
 kernel/sysctl.c     |    4 +---
 2 files changed, 5 insertions(+), 3 deletions(-)

5ac59cd3de28fdad038576ebef6a2ac41c5d7c69 diff --git a/include/linux/oom.h b/include/linux/oom.h
index 3852436..f76bf07 100644
--- a/include/linux/oom.h
+++ b/include/linux/oom.h
@@ -23,6 +23,10 @@ enum oom_constraint {
 	CONSTRAINT_MEMORY_POLICY,
 };
 
+extern int sysctl_panic_on_oom;
+extern int sysctl_oom_kill_allocating_task;
+extern int sysctl_oom_dump_tasks;
+
 extern int try_set_zone_oom(struct zonelist *zonelist);
 extern void clear_zonelist_oom(struct zonelist *zonelist);
 
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 8b7e954..ffb687c 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -45,6 +45,7 @@
 #include <linux/nfs_fs.h>
 #include <linux/acpi.h>
 #include <linux/reboot.h>
+#include <linux/oom.h>
 
 #include <asm/uaccess.h>
 #include <asm/processor.h>
@@ -64,9 +65,6 @@ extern int C_A_D;
 extern int print_fatal_signals;
 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;


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-04-21 22:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-25  0:08 [2.6 patch] mm/oom_kill.c: proper externs Adrian Bunk
2008-03-30 22:53 Adrian Bunk
2008-04-14 18:14 Adrian Bunk
2008-04-21 22:50 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).