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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to