Subject: Re: port-i386/34186 (msgbuf allocation)
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Pavel Cahyna <pavel@NetBSD.org>
List: netbsd-bugs
Date: 12/07/2006 21:40:07
The following reply was made to PR port-i386/34186; it has been noted by GNATS.
From: Pavel Cahyna <pavel@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: port-i386/34186 (msgbuf allocation)
Date: Thu, 7 Dec 2006 22:38:25 +0100
> I don't know the value of VM_PHYSSEG_MAX, but you should keep in mind that
> there is (or will be) a static array in the kernel with MSGBUF_MAX_SEG elements.
> If you set this constant to a large number, you are gooing to wast a lot of
> memory just for setting up the message buffer.
There is also a static array with VM_PHYSSEG_MAX which has the same
problem. FYI VM_PHYSSEG_MAX == 10.
Pavel