svn commit: r198457 - user/kmacy/releng_8_fcs/sys/sys
Kip Macy
kmacy at FreeBSD.org
Sun Oct 25 00:37:59 UTC 2009
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)
More information about the svn-src-user
mailing list