Date: Mon, 06 Dec 2010 17:50:11 +0200 From: Andriy Gapon <avg@freebsd.org> To: perryh@pluto.rain.com Cc: freebsd-stable@freebsd.org Subject: Re: Could MSGBUF_SIZE be made a loader tunable? Message-ID: <4CFD0633.9060509@freebsd.org> In-Reply-To: <4cfc72a5.3nAjkv8mdrO/NrKQ%perryh@pluto.rain.com> References: <4cfc72a5.3nAjkv8mdrO/NrKQ%perryh@pluto.rain.com>
next in thread | previous in thread | raw e-mail | index | archive | help
on 06/12/2010 07:20 perryh@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.) > > The upside would be that, if someone needed a larger buffer > temporarily to accommodate trace data from a mechanism such as > kern.geom.debugflags, the size could be adjusted without having > to rebuild the kernel. > > 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? -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CFD0633.9060509>