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

From: Jason Evans <jasone_at_FreeBSD.org>
Date: Thu, 1 May 2008 17:25:55 +0000 (UTC)
jasone      2008-05-01 17:25:55 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/stdlib      malloc.c 
  Log:
  Add a separate tree to track arena chunks that contain dirty pages.
  This substantially improves worst case allocation performance, since
  O(lg n) tree search can be used instead of O(n) tree iteration.
  
  Use rb_wrap() instead of directly calling rb_*() macros.
  
  Revision  Changes    Path
  1.171     +134 -158  src/lib/libc/stdlib/malloc.c
Received on Thu May 01 2008 - 17:25:55 UTC