From owner-freebsd-hackers Tue Nov 7 15:27:15 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id A65B637B479; Tue, 7 Nov 2000 15:27:11 -0800 (PST) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id eA7NRB513683; Tue, 7 Nov 2000 15:27:11 -0800 (PST) Date: Tue, 7 Nov 2000 15:27:11 -0800 From: Alfred Perlstein To: jkh@FreeBSD.ORG Cc: hackers@FreeBSD.ORG Subject: Re: Documenting sysV IPC tunables. Message-ID: <20001107152711.H5112@fw.wintelcom.net> References: <20001107145803.G5112@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <20001107145803.G5112@fw.wintelcom.net>; from bright@wintelcom.net on Tue, Nov 07, 2000 at 02:58:03PM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Alfred Perlstein [001107 14:58] wrote: > I have a patch here that I'd like to get into LINT for 4.2, > it _finally_ documents the sysV IPC tunables. > > I'll also be applying this patch to NOTES for -current. Bah, someone beat me for -current, but I like my patch better because it groups the options together with the "include support for" options. I'd like to change NOTES to look like my patch and i'd like to apply it to LINT in 4.x. Any objections? > > Index: LINT > =================================================================== > RCS file: /home/ncvs/src/sys/i386/conf/Attic/LINT,v > retrieving revision 1.749.2.35 > diff -u -u -r1.749.2.35 LINT > --- LINT 2000/10/31 23:16:07 1.749.2.35 > +++ LINT 2000/11/07 22:57:59 > @@ -272,9 +272,33 @@ > # Definition-style interprocess communication, in the form of shared > # memory, semaphores, and message queues, respectively. > # > -options SYSVSHM > -options SYSVSEM > -options SYSVMSG > +# System V shared memory and tunable parameters > +options SYSVSHM # include support for shared memory > +options SHMMAXPGS=1025 # max amount of shared memory pages (4k on i386) > +options SHMALL=1025 # max amount of shared memory (bytes) > +options SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)" > + # max shared memory segment size (bytes) > +options SHMMIN=2 # min shared memory segment size (bytes) > +options SHMMNI=33 # max number of shared memory identifiers > +options SHMSEG=9 # max shared memory segments per process > + > +# System V semaphores and tunable parameters > +options SYSVSEM # include support for semaphores > +options SEMMAP=31 # amount of entries in semaphore map > +options SEMMNI=11 # number of semaphore identifiers in the system > +options SEMMNS=61 # number of semaphores in the system > +options SEMMNU=31 # number of undo structures in the system > +options SEMMSL=61 # max number of semaphores per id > +options SEMOPM=101 # max number of operations per semop call > +options SEMUME=11 # max number of undo entries per process > + > +# System V message queues and tunable parameters > +options SYSVMSG # include support for message queues > +options MSGMNB=2049 # max characters per message > +options MSGMNI=41 # max number of message queue identifiers > +options MSGSEG=2049 # max number of message segments in the system > +options MSGSSZ=16 # size of a message segment MUST be power of 2 > +options MSGTQL=41 # max amount of messages in the system > > > ##################################################################### > @@ -2415,11 +2439,6 @@ > options KEY > options LOCKF_DEBUG > options LOUTB > -options MSGMNB=2049 > -options MSGMNI=41 > -options MSGSEG=2049 > -options MSGSSZ=16 > -options MSGTQL=41 > options NBUF=512 > options NETATALKDEBUG > options NMBCLUSTERS=1024 > @@ -2435,19 +2454,6 @@ > options SCSI_NCR_MYADDR=7 > options SC_DEBUG_LEVEL > options SC_RENDER_DEBUG > -options SEMMAP=31 > -options SEMMNI=11 > -options SEMMNS=61 > -options SEMMNU=31 > -options SEMMSL=61 > -options SEMOPM=101 > -options SEMUME=11 > -options SHMALL=1025 > -options SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)" > -options SHMMAXPGS=1025 > -options SHMMIN=2 > -options SHMMNI=33 > -options SHMSEG=9 > options SHOW_BUSYBUFS # List buffers that prevent root unmount > options SIMPLELOCK_DEBUG > options SI_DEBUG > -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message