Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 2010 23:16:10 +0000 (UTC)
From:      Jason Evans <jasone@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/lib/libc/stdlib malloc.3 malloc.c ql.h qr.h
Message-ID:  <201001312316.o0VNGVmd037467@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jasone      2010-01-31 23:16:10 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/stdlib      malloc.3 malloc.c 
  Added files:
    lib/libc/stdlib      ql.h qr.h 
  Log:
  SVN rev 203329 on 2010-01-31 23:16:10Z by jasone
  
  Fix bugs:
  
    * Fix a race in chunk_dealloc_dss().
  
    * Check for allocation failure before zeroing memory in base_calloc().
  
  Merge enhancements from a divergent version of jemalloc:
  
    * Convert thread-specific caching from magazines to an algorithm that is
      more tunable, and implement incremental GC.
  
    * Add support for medium size classes, [4KiB..32KiB], 2KiB apart by
      default.
  
    * Add dirty page tracking for pages within active small/medium object
      runs.  This allows malloc to track precisely which pages are in active
      use, which makes dirty page purging more effective.
  
    * Base maximum dirty page count on proportion of active memory.
  
    * Use optional zeroing in arena_chunk_alloc() to avoid needless zeroing
      of chunks.  This is useful in the context of DSS allocation, since a
      long-lived application may commonly recycle chunks.
  
    * Increase the default chunk size from 1MiB to 4MiB.
  
  Remove feature:
  
    * Remove the dynamic rebalancing code, since thread caching reduces its
      utility.
  
  Revision  Changes      Path
  1.82      +77 -71      src/lib/libc/stdlib/malloc.3
  1.190     +1960 -1290  src/lib/libc/stdlib/malloc.c
  1.1       +122 -0      src/lib/libc/stdlib/ql.h (new)
  1.1       +106 -0      src/lib/libc/stdlib/qr.h (new)



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