From owner-cvs-all@FreeBSD.ORG Tue Feb 17 08:38:22 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 E572B16A4D0 for ; Tue, 17 Feb 2004 08:38:22 -0800 (PST) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id B66D243D31 for ; Tue, 17 Feb 2004 08:38:22 -0800 (PST) (envelope-from nate@root.org) Received: (qmail 29721 invoked by uid 1000); 17 Feb 2004 16:38:23 -0000 Date: Tue, 17 Feb 2004 08:38:23 -0800 (PST) From: Nate Lawson To: "David E. O'Brien" In-Reply-To: <20040216204213.D2BD716A56E@hub.freebsd.org> Message-ID: <20040217083735.X29569@root.org> References: <20040216204213.D2BD716A56E@hub.freebsd.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:38:23 -0000 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