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

Jason Evans jasone at FreeBSD.org
Thu Feb 7 16:36:01 PST 2008


jasone      2008-02-08 00:35:57 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/stdlib      malloc.c 
  Log:
  Clean up manipulation of chunk page map elements to remove some tenuous
  assumptions about whether bits are set at various times.  This makes
  adding other flags safe.
  
  Reorganize functions in order to inline i{m,c,p,s,re}alloc().  This
  allows the entire fast-path call chains for malloc() and free() to be
  inlined. [1]
  
  Suggested by:   [1] Stuart Parmenter <stuart at mozilla.com>
  
  Revision  Changes    Path
  1.163     +374 -379  src/lib/libc/stdlib/malloc.c


More information about the cvs-all mailing list