Skip to content
Snippets Groups Projects
  1. Dec 23, 2013
    • Konstantin Osipov's avatar
      Fix a bug with wrong defaults when initializing the small object allocator. · aef3b612
      Konstantin Osipov authored
      tuple.cc passed wrong parameters to small_alloc_create - prealloc
      size instead of slab size, and slab size instead of prealloc size.
      
      When correct parameters were supplied, it turned out that
      objsize_max is calculated wrongly, and the last factor pool
      in small allocator is too framgented (uses 3 empty slots instead
      of 4, with 25% overhead).
      
      The problem would not show up in any test, only increase
      memory fragmentation.
      
      This patch also fixes this problem.
      aef3b612
  2. Dec 19, 2013
  3. Dec 18, 2013
  4. Dec 17, 2013
  5. Dec 16, 2013
  6. Dec 14, 2013
  7. Dec 13, 2013
  8. Dec 12, 2013
  9. Dec 11, 2013
  10. Dec 10, 2013
Loading