Subject: Re: port-i386/34186 (msgbuf allocation)
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Blair Sadewitz <blair.sadewitz@gmail.com>
List: netbsd-bugs
Date: 12/05/2006 16:05:02
The following reply was made to PR port-i386/34186; it has been noted by GNATS.
From: "Blair Sadewitz" <blair.sadewitz@gmail.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: port-i386/34186 (msgbuf allocation)
Date: Tue, 5 Dec 2006 11:03:32 -0500
On 12/5/06, Pavel Cahyna <pavel@netbsd.org> wrote:
>
> No, because the size of message buffer has no simple relationship to the
> number of segments used.
>
> There is VM_PHYSSEG_MAX constant which is the maximum number of physical
> memory
> segments. It should be used instead of MSGBUF_MAX_SEG imo.
Oh, yeah, I didn't think of that one; seems like the way to go. That
way MSGBUFSIZE could be used just like before, right?
I'll try that out later on and send the diffs here for amd64.
Regards,
--Blair
--
Support WFMU-FM: free-form radio for the masses!
<http://www.wfmu.org/>
91.1 FM Jersey City, NJ
90.1 FM Mt. Hope, NY
"The Reggae Schoolroom":
<http://www.wfmu.org/playlists/RS/>