cvs commit: src/sys/sys msgbuf.h

Nate Lawson nate at root.org
Tue Feb 17 08:43:17 PST 2004


On Tue, 17 Feb 2004, Nate Lawson wrote:
> On Mon, 16 Feb 2004, David E. O'Brien wrote:
> > obrien      2004/02/16 12:42:11 PST
> >
> >   FreeBSD src repository
> >
> >   Modified files:
> >     sys/sys              msgbuf.h
> >   Log:
> >   Increase the size of MSGBUF_SIZE if booted with -v.
> >
> >   Revision  Changes    Path
> >   1.22      +1 -1      src/sys/sys/msgbuf.h
> >
> > --- src/sys/sys/msgbuf.h:1.21	Sat Jun 21 19:18:31 2003
> > +++ src/sys/sys/msgbuf.h	Mon Feb 16 12:42:11 2004
> > @@ -71,7 +71,7 @@
> >  	    u_int *seqp);
> >
> >  #if !defined(MSGBUF_SIZE)
> > -#define	MSGBUF_SIZE	32768
> > +#define	MSGBUF_SIZE	(32768 * bootverbose ? 2 : 1)
> >  #endif
> >
> >  #endif
>
> Are you sure you tested this?  Precedence will make the value 2 bytes or 1
> byte, not nearly enough for a message buffer.
>
> -Nate

Never mind, it was backed out.

-Nate


More information about the cvs-src mailing list