From owner-cvs-all@FreeBSD.ORG Tue Feb 17 08:43:17 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B94C16A4D9 for ; Tue, 17 Feb 2004 08:43:17 -0800 (PST) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 20E1643D31 for ; Tue, 17 Feb 2004 08:43:17 -0800 (PST) (envelope-from nate@root.org) Received: (qmail 29779 invoked by uid 1000); 17 Feb 2004 16:43:17 -0000 Date: Tue, 17 Feb 2004 08:43:17 -0800 (PST) From: Nate Lawson To: "David E. O'Brien" In-Reply-To: <20040217083735.X29569@root.org> Message-ID: <20040217084302.O29569@root.org> References: <20040216204213.D2BD716A56E@hub.freebsd.org> <20040217083735.X29569@root.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys msgbuf.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2004 16:43:17 -0000 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