Date: Tue, 17 Jun 2003 08:11:53 -0700 From: Alfred Perlstein <alfred@freebsd.org> To: Maxim Konovalov <maxim@macomnet.ru> Cc: docs@freebsd.org Subject: Re: SHMALL in pages, not in bytes Message-ID: <20030617151153.GO62025@elvis.mu.org> In-Reply-To: <20030617184800.S876@news1.macomnet.ru> References: <20030617184800.S876@news1.macomnet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
* Maxim Konovalov <maxim@macomnet.ru> [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.'
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030617151153.GO62025>