summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/sysv_shm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/sysv_shm.c b/sys/kern/sysv_shm.c
index 81b27f3..fab53a8 100644
--- a/sys/kern/sysv_shm.c
+++ b/sys/kern/sysv_shm.c
@@ -106,7 +106,7 @@ static void shmfork_myhook __P((struct proc *p1, struct proc *p2));
* Tuneable values
*/
#ifndef SHMMAXPGS
-#define SHMMAXPGS 1024 /* XXX increase this, it's not in kva! */
+#define SHMMAXPGS 8192 /* note: sysv shared memory is swap backed */
#endif
#ifndef SHMMAX
#define SHMMAX (SHMMAXPGS*PAGE_SIZE)
@@ -115,10 +115,10 @@ static void shmfork_myhook __P((struct proc *p1, struct proc *p2));
#define SHMMIN 1
#endif
#ifndef SHMMNI
-#define SHMMNI 96
+#define SHMMNI 192
#endif
#ifndef SHMSEG
-#define SHMSEG 64
+#define SHMSEG 128
#endif
#ifndef SHMALL
#define SHMALL (SHMMAXPGS)
OpenPOWER on IntegriCloud