patch-2.3.99-pre2 linux/include/linux/shm.h

Next file: linux/include/linux/skbuff.h
Previous file: linux/include/linux/sched.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre1/linux/include/linux/shm.h linux/include/linux/shm.h
@@ -11,8 +11,8 @@
 
 #define SHMMAX 0x2000000		 /* max shared seg size (bytes) */
 #define SHMMIN 0			 /* min shared seg size (bytes) */
-#define SHMMNI 128			 /* max num of segs system wide */
-#define SHMALL (SHMMAX/PAGE_SIZE*SHMMNI) /* max shm system wide (pages) */
+#define SHMMNI 4096			 /* max num of segs system wide */
+#define SHMALL (SHMMAX/PAGE_SIZE*(SHMMNI/16)) /* max shm system wide (pages) */
 #define SHMSEG SHMMNI			 /* max shared segs per process */
 
 #include <asm/shmparam.h>

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)