diff options
author | joerg <joerg@FreeBSD.org> | 1995-02-16 11:29:19 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1995-02-16 11:29:19 +0000 |
commit | e0acfb2a4801cfdeffa6440c9a8cdda5530da463 (patch) | |
tree | 3dc69c5dd805ad4038481f95d1f26e6183ba2c3d /sys/conf | |
parent | ac8c07315a76e8524a1db99001892949571a5243 (diff) | |
download | FreeBSD-src-e0acfb2a4801cfdeffa6440c9a8cdda5530da463.zip FreeBSD-src-e0acfb2a4801cfdeffa6440c9a8cdda5530da463.tar.gz |
Alow overriding of the various SHM* options.
Submitted by: Heikki Suonsivu <hsu@fx7.cs.hut.fi>
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/param.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/conf/param.c b/sys/conf/param.c index b0cca50..0171c91 100644 --- a/sys/conf/param.c +++ b/sys/conf/param.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)param.c 8.2 (Berkeley) 1/21/94 - * $Id: param.c,v 1.5 1995/01/09 16:04:20 davidg Exp $ + * $Id: param.c,v 1.6 1995/01/12 03:38:12 davidg Exp $ */ #include <sys/param.h> @@ -91,11 +91,21 @@ int fscale = FSCALE; /* kernel uses `FSCALE', user uses `fscale' */ * Values in support of System V compatible shared memory. XXX */ #ifdef SYSVSHM +#ifndef SHMMAX #define SHMMAX (SHMMAXPGS*NBPG) +#endif +#ifndef SHMMIN #define SHMMIN 1 +#endif +#ifndef SHMMNI #define SHMMNI 32 /* <= SHMMMNI in shm.h */ +#endif +#ifndef SHMSEG #define SHMSEG 8 +#endif +#ifndef SHMALL #define SHMALL (SHMMAXPGS/CLSIZE) +#endif struct shminfo shminfo = { SHMMAX, |