aboutsummaryrefslogtreecommitdiff
path: root/malloc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-05-14 22:53:09 +0000
committerUlrich Drepper <drepper@redhat.com>2007-05-14 22:53:09 +0000
commit1a31b586c458d13af63cc116013bb0aba91498b5 (patch)
treedc599ad50a09625f6634f1b313a3215b38937cd1 /malloc
parent366ad8fd05f7df5420b846f76abaf2a7d8f32c0a (diff)
downloadglibc-1a31b586c458d13af63cc116013bb0aba91498b5.zip
glibc-1a31b586c458d13af63cc116013bb0aba91498b5.tar.gz
glibc-1a31b586c458d13af63cc116013bb0aba91498b5.tar.bz2
* malloc/malloc.c (largebin_index): Really have 32 buckets with 64 sizes.
2007-05-13 Ulrich Drepper <drepper@redhat.com>
Diffstat (limited to 'malloc')
-rw-r--r--malloc/malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 0a947a4..1e586fa 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -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): \