patch-2.4.11-dontuse linux/include/linux/sem.h
Next file: linux/include/linux/slab.h
Previous file: linux/include/linux/reiserfs_fs.h
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Tue Oct 9 15:22:14 2001
- Orig file:
v2.4.10/linux/include/linux/sem.h
- Orig date:
Tue Aug 7 12:48:42 2001
diff -u --recursive --new-file v2.4.10/linux/include/linux/sem.h linux/include/linux/sem.h
@@ -68,11 +68,11 @@
#define SEMMNS (SEMMNI*SEMMSL) /* <= INT_MAX max # of semaphores in system */
#define SEMOPM 32 /* <= 1 000 max num of ops per semop call */
#define SEMVMX 32767 /* <= 32767 semaphore maximum value */
+#define SEMAEM SEMVMX /* adjust on exit max value */
/* unused */
#define SEMUME SEMOPM /* max num of undo entries per process */
#define SEMMNU SEMMNS /* num of undo structures system wide */
-#define SEMAEM (SEMVMX >> 1) /* adjust on exit max value */
#define SEMMAP SEMMNS /* # of entries in semaphore map */
#define SEMUSZ 20 /* sizeof struct sem_undo */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)