Could MSGBUF_SIZE be made a loader tunable?

Sergey Kandaurov pluknet at
Tue Jan 18 17:51:14 UTC 2011

On 18 January 2011 19:19, John Baldwin <jhb at> wrote:
> On Sunday, January 16, 2011 12:24:27 pm Sergey Kandaurov wrote:
>> On 16 January 2011 06:10,  <perryh at> wrote:
>> > Anyone had a chance to look at this?
>> >
>> >
>> To ease testing on head I have regenerated the patch
>> (against r216594):
> The one hunk involving tf_rip and PS_STRINGS in amd64 looks to be unrelated.

Woops, sorry. Nice catch!

> Also, in subr_param.c, you can assume that MSGBUF_SIZE is always defined
> and always assign it as the initial value rather than having an #ifdef.

> Finally, I would adjust the wording in the manpage to not say that this
> modifies the MSGBUF_SIZE option, but that this tunable is the same as
> adjusting MSGBUF_SIZE.  Other than that I think it is fine.

Right. I think a simple s/Modifies/Overrides/ here will be enough.

Thanks for your valuable comments.
An updated patch is there:
I'm going to commit this soon.


More information about the freebsd-stable mailing list