cvs commit: src/lib/libc/stdlib malloc.c

Jason Evans jasone at FreeBSD.org
Thu Dec 27 23:24:20 PST 2007


jasone      2007-12-28 07:24:20 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/stdlib      malloc.c 
  Log:
  Maintain two trees instead of one (old_chunks --> old_chunks_{ad,szad}) in
  order to support re-use of multi-chunk unused regions within the DSS for
  huge allocations.  This generalization is important to correct function
  when mmap-based allocation is disabled.
  
  Avoid zeroing re-used memory in the DSS unless it really needs to be
  zeroed.
  
  Revision  Changes    Path
  1.157     +183 -113  src/lib/libc/stdlib/malloc.c


More information about the cvs-src mailing list