diff packages/services/memalloc/common/current/cdl/memalloc.cdl @ 1280:8d76b6216102

* cdl/memalloc.cdl, src/dlmalloc.cxx: Make the minimum memory alignment a configuration option for Doug Lea's memory allocator.
author asl
date Mon, 06 Oct 2003 16:41:07 +0000
parents d2c90368aeef
children eb235374a7ae
line wrap: on
line diff
--- a/packages/services/memalloc/common/current/cdl/memalloc.cdl
+++ b/packages/services/memalloc/common/current/cdl/memalloc.cdl
@@ -184,6 +184,18 @@ cdl_package CYGPKG_MEMALLOC {
                     to use some macro equivalents, which some people report
                     are faster in some circumstances."
            }
+
+           cdl_option CYGNUM_MEMALLOC_ALLOCATOR_DLMALLOC_ALIGNMENT {
+                display       "Minimum alignment of allocated blocks"
+                flavor        data
+                legal_values  3 to 10
+                default_value 3
+                description   "
+                    This option controls the minimum alignment that the
+                    allocated memory blocks are aligned on, specified as
+                    2^N. Note that using large mininum alignments can lead
+                    to excessive memory wastage."
+           }
         }
 
         cdl_component CYGPKG_MEMALLOC_ALLOCATOR_SEPMETA {