Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Mar 2000 15:21:49 +0100 (CET)
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        dmmiller@cvzoom.net
Cc:        graichen@innominate.de, current@FreeBSD.ORG
Subject:   Re: Two queries [ KDE / XFree86 ]
Message-ID:  <200003011421.PAA08256@Magelan.Leidinger.net>
In-Reply-To: <Pine.BSF.4.20.0003010733510.289-100000@lcm212.cvzoom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On  1 Mar, Donn Miller wrote:

> It looks like SHMMAXPGS has to be a power of two + 1.  (The original

No.

> config file says 
> 
> options         SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)"
> options         SHMMAXPGS=1025

Thats from LINT.

> So, it looks like SHMMAXPGS has to be a power of two + 1.  That's why I
> chose 4097 instead of 4096

LINT increases the default value by one (I think LINT didn't want to
make useless modifications).

See /sys/<arch>/include/vmparam.h.

Bye,
Alexander.

-- 
                   It's not a bug, it's tradition!

http://www.Leidinger.net                  Alexander+Home @ Leidinger.net
  Key fingerprint = 7423 F3E6 3A7E B334 A9CC  B10A 1F5F 130A A638 6E7E



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003011421.PAA08256>