Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Oct 2009 00:37:59 +0000 (UTC)
From:      Kip Macy <kmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r198457 - user/kmacy/releng_8_fcs/sys/sys
Message-ID:  <200910250037.n9P0bxT2020522@svn.freebsd.org>

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



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