SHMALL in pages, not in bytes
Alfred Perlstein
alfred at freebsd.org
Tue Jun 17 15:11:54 UTC 2003
* Maxim Konovalov <maxim at 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 at macomnet.ru, maxim at FreeBSD.org
--
-Alfred Perlstein [alfred at 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.'
More information about the freebsd-doc
mailing list