* malloc/malloc.c (largebin_index): Really have 32 buckets with 64 sizes.
authorUlrich Drepper <drepper@redhat.com>
Mon, 14 May 2007 22:53:09 +0000 (22:53 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 14 May 2007 22:53:09 +0000 (22:53 +0000)
2007-05-13  Ulrich Drepper  <drepper@redhat.com>

ChangeLog
malloc/malloc.c

index 621eee5..59d7f87 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
-2007-05-13  Ulrich Drepper  <drepper@redhat.com>
+2007-05-14  Ulrich Drepper  <drepper@redhat.com>
+
+       * malloc/malloc.c (largebin_index): Really have 32 buckets with 64 sizes.
 
+2007-05-13  Ulrich Drepper  <drepper@redhat.com>
        * malloc/malloc.c [MALLOC_DEBUG]: Keep track of current maximum
        number of mmaps.  n_mmaps_max is the target.
        * malloc/hooks.c: Likewise.
index 0a947a4..1e586fa 100644 (file)
@@ -2134,7 +2134,7 @@ typedef struct malloc_chunk* mbinptr;
 #define smallbin_index(sz)     (((unsigned)(sz)) >> 3)
 
 #define largebin_index(sz)                                                   \
-(((((unsigned long)(sz)) >>  6) <= 32)?  56 + (((unsigned long)(sz)) >>  6): \
+(((((unsigned long)(sz)) >>  6) <= 38)?  56 + (((unsigned long)(sz)) >>  6): \
  ((((unsigned long)(sz)) >>  9) <= 20)?  91 + (((unsigned long)(sz)) >>  9): \
  ((((unsigned long)(sz)) >> 12) <= 10)? 110 + (((unsigned long)(sz)) >> 12): \
  ((((unsigned long)(sz)) >> 15) <=  4)? 119 + (((unsigned long)(sz)) >> 15): \