summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-01-01 20:17:35 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-01-01 20:17:35 +0000
commit0117556a23d954b9423ec95b2c98568ed5ec2304 (patch)
tree56f2868a7bab751ae000a1ef2cf64200040c28f3
parent00659d6d01ce4d057575b2427396af8917e77f56 (diff)
Crank SHMMNI from 32 -> 128 and SHMSEG from 8 -> 128. OK deraadt@
-rw-r--r--sys/conf/param.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/conf/param.c b/sys/conf/param.c
index 17ae69377d8..1630cc0853f 100644
--- a/sys/conf/param.c
+++ b/sys/conf/param.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.c,v 1.22 2003/07/24 04:02:20 deraadt Exp $ */
+/* $OpenBSD: param.c,v 1.23 2004/01/01 20:17:34 millert Exp $ */
/* $NetBSD: param.c,v 1.16 1996/03/12 03:08:40 mrg Exp $ */
/*
@@ -111,8 +111,8 @@ int shmmaxpgs = SHMMAXPGS;
#ifdef SYSVSHM
#define SHMMAX SHMMAXPGS /* shminit() performs a `*= PAGE_SIZE' */
#define SHMMIN 1
-#define SHMMNI 32 /* <= SHMMMNI in shm.h */
-#define SHMSEG 8
+#define SHMMNI 128 /* <64k, see IPCID_TO_IX in ipc.h */
+#define SHMSEG 128
#define SHMALL (SHMMAXPGS)
struct shminfo shminfo = {