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
- Lines: 11
- Date:
Sat Mar 18 12:13:53 2000
- Orig file:
v2.3.99-pre1/linux/include/linux/shm.h
- Orig date:
Fri Mar 10 16:40:50 2000
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)