summaryrefslogtreecommitdiff
path: root/sys/kern/subr_param.c
diff options
context:
space:
mode:
authorJeffrey Hsu <hsu@FreeBSD.org>1996-03-11 05:52:50 +0000
committerJeffrey Hsu <hsu@FreeBSD.org>1996-03-11 05:52:50 +0000
commit70b012cab2ea450cea03b7a9b94b8caa09ab7298 (patch)
tree789737fa83ad57cdfaa5b9409fe21a1746bb9765 /sys/kern/subr_param.c
parent96e00d408e03a63f8445b8e3e5944c5dd9d2dc8d (diff)
Notes
Diffstat (limited to 'sys/kern/subr_param.c')
-rw-r--r--sys/kern/subr_param.c29
1 files changed, 2 insertions, 27 deletions
diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c
index 5e5b64ba05e9..3de8e1152a8f 100644
--- a/sys/kern/subr_param.c
+++ b/sys/kern/subr_param.c
@@ -35,8 +35,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#)param.c 8.2 (Berkeley) 1/21/94
- * $Id: param.c,v 1.14 1996/01/04 20:28:02 wollman Exp $
+ * @(#)param.c 8.3 (Berkeley) 8/20/94
+ * $Id: param.c,v 1.15 1996/03/02 18:23:57 peter Exp $
*/
#include "opt_sysvipc.h"
@@ -182,28 +182,3 @@ int nswbuf = 0;
* (if they've been externed everywhere else; hah!).
*/
struct buf *swbuf;
-
-/*
- * Proc/pgrp hashing.
- * Here so that hash table sizes can depend on MAXUSERS/NPROC.
- * Hash size must be a power of two.
- * NOW omission of this file will cause loader errors!
- */
-
-#if NPROC > 1024
-#define PIDHSZ 512
-#else
-#if NPROC > 512
-#define PIDHSZ 256
-#else
-#if NPROC > 256
-#define PIDHSZ 128
-#else
-#define PIDHSZ 64
-#endif
-#endif
-#endif
-
-struct proc *pidhash[PIDHSZ];
-struct pgrp *pgrphash[PIDHSZ];
-int pidhashmask = PIDHSZ - 1;