Could MSGBUF_SIZE be made a loader tunable?

perryh at pluto.rain.com perryh at pluto.rain.com
Wed Dec 8 09:11:20 UTC 2010


Andriy Gapon <avg at freebsd.org> wrote:
> on 06/12/2010 07:20 perryh at pluto.rain.com said the following:
> > Would there be some fundamental problem in changing MSGBUF_SIZE
> > from a compiled-in constant to a tunable that could be set at the
> > loader prompt?  (I'm _not_ suggesting that it be adjustable while
> > the system is running.)
...
> > I didn't see any obvious downside from examining the 8.1-RELEASE
> > code, but I could certainly have overlooked some subtle (or even
> > blatant) reason why this would be a Bad Idea.
>
> I also don't immediately see why that wouldn't work.
> Can you try to come up with a patch?

I was planning to try it, unless someone pointed out a reason not
to bother -- and then there is the same problem everyone else has,
ENOTIME :(

Sort-of related question, since the only 8.x I currently have is the
not-yet-installed memstick:  should I be able to build a usable 8.1
kernel on a 6.1 system (with the 8.1 sources installed somewhere, of
course)?


More information about the freebsd-stable mailing list