From owner-cvs-all@FreeBSD.ORG Sat Jan 26 22:32:24 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 529B116A420; Sat, 26 Jan 2008 22:32:24 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2E4FA13C4E3; Sat, 26 Jan 2008 22:32:24 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m0QMWO7A069976; Sat, 26 Jan 2008 22:32:24 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m0QMWOWM069975; Sat, 26 Jan 2008 22:32:24 GMT (envelope-from rwatson) Message-Id: <200801262232.m0QMWOWM069975@repoman.freebsd.org> From: Robert Watson Date: Sat, 26 Jan 2008 22:32:24 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/conf options src/sys/ddb db_capture.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 26 Jan 2008 22:32:24 -0000 rwatson 2008-01-26 22:32:24 UTC FreeBSD src repository Modified files: sys/conf options sys/ddb db_capture.c Log: Allow DDB_CAPTURE_DEFAULTBUFSIZE and DDB_CAPTURE_MAXBUFSIZE to be overridden at compile-time using kernel options of the same names. Rather than doing a compile-time CTASSERT of buffer sizes being even multiples of block sizes, just adjust them at boottime, as the failure mode is more user-friendly. MFC after: 2 months PR: 119993 Suggested by: Scot Hetzel Revision Changes Path 1.616 +2 -0 src/sys/conf/options 1.4 +18 -13 src/sys/ddb/db_capture.c