From owner-svn-src-user@FreeBSD.ORG Sun Oct 25 00:37:59 2009 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFC39106568B; Sun, 25 Oct 2009 00:37:59 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id BF44B8FC0A; Sun, 25 Oct 2009 00:37:59 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n9P0bxbR020525; Sun, 25 Oct 2009 00:37:59 GMT (envelope-from kmacy@svn.freebsd.org) Received: (from kmacy@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n9P0bxT2020522; Sun, 25 Oct 2009 00:37:59 GMT (envelope-from kmacy@svn.freebsd.org) Message-Id: <200910250037.n9P0bxT2020522@svn.freebsd.org> From: Kip Macy Date: Sun, 25 Oct 2009 00:37:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r198457 - user/kmacy/releng_8_fcs/sys/sys X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Oct 2009 00:37:59 -0000 Author: kmacy Date: Sun Oct 25 00:37:59 2009 New Revision: 198457 URL: http://svn.freebsd.org/changeset/base/198457 Log: - increase MAXBSIZE to MAXPHYS - define GB_NODUMP for excluding pages from dump Modified: user/kmacy/releng_8_fcs/sys/sys/buf.h user/kmacy/releng_8_fcs/sys/sys/param.h Modified: user/kmacy/releng_8_fcs/sys/sys/buf.h ============================================================================== --- user/kmacy/releng_8_fcs/sys/sys/buf.h Sun Oct 25 00:28:01 2009 (r198456) +++ user/kmacy/releng_8_fcs/sys/sys/buf.h Sun Oct 25 00:37:59 2009 (r198457) @@ -444,6 +444,7 @@ buf_countdeps(struct buf *bp, int i) #define GB_LOCK_NOWAIT 0x0001 /* Fail if we block on a buf lock. */ #define GB_NOCREAT 0x0002 /* Don't create a buf if not found. */ #define GB_NOWAIT_BD 0x0004 /* Do not wait for bufdaemon */ +#define GB_NODUMP 0x0008 /* exclude this buffer from core dump */ #ifdef _KERNEL extern int nbuf; /* The number of buffer headers */ Modified: user/kmacy/releng_8_fcs/sys/sys/param.h ============================================================================== --- user/kmacy/releng_8_fcs/sys/sys/param.h Sun Oct 25 00:28:01 2009 (r198456) +++ user/kmacy/releng_8_fcs/sys/sys/param.h Sun Oct 25 00:37:59 2009 (r198457) @@ -221,7 +221,7 @@ * The default is 16384, roughly 2x the block size used by a * normal UFS filesystem. */ -#define MAXBSIZE 65536 /* must be power of 2 */ +#define MAXBSIZE MAXPHYS /* must be power of 2 */ #define BKVASIZE 16384 /* must be power of 2 */ #define BKVAMASK (BKVASIZE-1)