Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 2004 08:38:23 -0800 (PST)
From:      Nate Lawson <nate@root.org>
To:        "David E. O'Brien" <obrien@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/sys msgbuf.h
Message-ID:  <20040217083735.X29569@root.org>
In-Reply-To: <20040216204213.D2BD716A56E@hub.freebsd.org>
References:  <20040216204213.D2BD716A56E@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040217083735.X29569>