From owner-freebsd-doc@FreeBSD.ORG Tue Jun 17 08:11:54 2003 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45FDC37B401 for ; Tue, 17 Jun 2003 08:11:54 -0700 (PDT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8B7643FB1 for ; Tue, 17 Jun 2003 08:11:53 -0700 (PDT) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id D5AAB2ED460; Tue, 17 Jun 2003 08:11:53 -0700 (PDT) Date: Tue, 17 Jun 2003 08:11:53 -0700 From: Alfred Perlstein To: Maxim Konovalov Message-ID: <20030617151153.GO62025@elvis.mu.org> References: <20030617184800.S876@news1.macomnet.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030617184800.S876@news1.macomnet.ru> User-Agent: Mutt/1.4.1i cc: docs@freebsd.org Subject: Re: SHMALL in pages, not in bytes X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2003 15:11:54 -0000 * Maxim Konovalov [030617 07:51] wrote: > Hello, > > I guess nobody will object to a diff below? It's good. > > Index: sys/i386/conf/LINT > =================================================================== > RCS file: /home/ncvs/src/sys/i386/conf/Attic/LINT,v > retrieving revision 1.749.2.144 > diff -u -r1.749.2.144 LINT > --- sys/i386/conf/LINT 4 Jun 2003 17:56:59 -0000 1.749.2.144 > +++ sys/i386/conf/LINT 17 Jun 2003 14:44:56 -0000 > @@ -294,7 +294,7 @@ > # 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 SHMALL=1025 # max number of shared memory pages system wide > options SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)" > # max shared memory segment size (bytes) > options SHMMIN=2 # min shared memory segment size (bytes) > %%% > > -- > Maxim Konovalov, maxim@macomnet.ru, maxim@FreeBSD.org -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.'