[to-be-updated] sysctl-extern-cleanup-pid.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     sysctl extern cleanup: pid
has been removed from the -mm tree.  Its filename was
     sysctl-extern-cleanup-pid.patch

This patch was dropped because an updated version will be merged

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: sysctl extern cleanup: pid
From: Dave Young <hidave.darkstar@xxxxxxxxx>

Extern declarations in sysctl.c should be moved to their own header file,
and then include them in relavant .c files.

Move pid/pid_max_min/pid_max_max extern declarations to linux/pid.h

Signed-off-by: Dave Young <hidave.darkstar@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

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

diff -puN include/linux/pid.h~sysctl-extern-cleanup-pid include/linux/pid.h
--- a/include/linux/pid.h~sysctl-extern-cleanup-pid
+++ a/include/linux/pid.h
@@ -3,6 +3,10 @@
 
 #include <linux/rcupdate.h>
 
+/* for sysctl */
+extern int pid_max;
+extern int pid_max_min, pid_max_max;
+
 enum pid_type
 {
 	PIDTYPE_PID,
diff -puN kernel/sysctl.c~sysctl-extern-cleanup-pid kernel/sysctl.c
--- a/kernel/sysctl.c~sysctl-extern-cleanup-pid
+++ a/kernel/sysctl.c
@@ -35,6 +35,7 @@
 #include <linux/net.h>
 #include <linux/sysrq.h>
 #include <linux/highuid.h>
+#include <linux/pid.h>
 #include <linux/writeback.h>
 #include <linux/ratelimit.h>
 #include <linux/hugetlb.h>
@@ -73,9 +74,7 @@ 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 pid_max;
 extern int min_free_kbytes;
-extern int pid_max_min, pid_max_max;
 extern int sysctl_drop_caches;
 extern int percpu_pagelist_fraction;
 extern int compat_log;
_

Patches currently in -mm which might be from hidave.darkstar@xxxxxxxxx are

origin.patch
sysctl-extern-cleanup-pid.patch
sysctl-extern-cleanup-mm.patch
sysctl-extern-cleanup-compat.patch
sysctl-extern-cleanup-latencytop.patch
sysctl-extern-cleanup-file-nr.patch
sysctl-extern-cleanup-block-iopoll.patch
linux-next.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux