diff options
author | marcel <marcel@FreeBSD.org> | 2011-10-04 17:00:50 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2011-10-04 17:00:50 +0000 |
commit | eeefa71518cff0426bf83774dceaeaed6028769b (patch) | |
tree | a4a7541c19c7fe2a611967745a454c93711e7082 /sys/arm | |
parent | 4b08eeb6e3e05c2899a09cca70d1a91eb470abab (diff) | |
download | FreeBSD-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.h | 10 |
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 |