summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2011-10-04 17:00:50 +0000
committermarcel <marcel@FreeBSD.org>2011-10-04 17:00:50 +0000
commiteeefa71518cff0426bf83774dceaeaed6028769b (patch)
treea4a7541c19c7fe2a611967745a454c93711e7082 /sys/arm
parent4b08eeb6e3e05c2899a09cca70d1a91eb470abab (diff)
downloadFreeBSD-src-eeefa71518cff0426bf83774dceaeaed6028769b.zip
FreeBSD-src-eeefa71518cff0426bf83774dceaeaed6028769b.tar.gz
Properly guard definitions of DFLDSIZ, MAXDSIZ, DFLSSIZ, MAXSSIZ and
SGROWSIZ. They can be set in the kernel configuration file.
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/include/vmparam.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/arm/include/vmparam.h b/sys/arm/include/vmparam.h
index dd1ba1c..f85fa58 100644
--- a/sys/arm/include/vmparam.h
+++ b/sys/arm/include/vmparam.h
@@ -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
OpenPOWER on IntegriCloud