svn commit: r225995 - head/sys/arm/include
Marcel Moolenaar
marcel at FreeBSD.org
Tue Oct 4 17:00:51 UTC 2011
Author: marcel
Date: Tue Oct 4 17:00:50 2011
New Revision: 225995
URL: http://svn.freebsd.org/changeset/base/225995
Log:
Properly guard definitions of DFLDSIZ, MAXDSIZ, DFLSSIZ, MAXSSIZ and
SGROWSIZ. They can be set in the kernel configuration file.
Modified:
head/sys/arm/include/vmparam.h
Modified: head/sys/arm/include/vmparam.h
==============================================================================
--- head/sys/arm/include/vmparam.h Tue Oct 4 17:00:39 2011 (r225994)
+++ head/sys/arm/include/vmparam.h Tue Oct 4 17:00:50 2011 (r225995)
@@ -141,11 +141,21 @@
#endif
#define MAXTSIZ (16*1024*1024)
+#ifndef DFLDSIZ
#define DFLDSIZ (128*1024*1024)
+#endif
+#ifndef MAXDSIZ
#define MAXDSIZ (512*1024*1024)
+#endif
+#ifndef DFLSSIZ
#define DFLSSIZ (2*1024*1024)
+#endif
+#ifndef MAXSSIZ
#define MAXSSIZ (8*1024*1024)
+#endif
+#ifndef SGROWSIZ
#define SGROWSIZ (128*1024)
+#endif
#ifdef ARM_USE_SMALL_ALLOC
#define UMA_MD_SMALL_ALLOC
More information about the svn-src-head
mailing list