Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Oct 2011 17:00:50 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r225995 - head/sys/arm/include
Message-ID:  <201110041700.p94H0oLb068134@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110041700.p94H0oLb068134>