mirror of git://sourceware.org/git/glibc.git
malloc: fix definition for MAX_TCACHE_SMALL_SIZE
Reviewed-by: Arjun Shankar <arjun@redhat.com>
This commit is contained in:
parent
e85dbd8604
commit
0263528f8d
|
@ -294,7 +294,7 @@
|
|||
# define TCACHE_SMALL_BINS 64
|
||||
# define TCACHE_LARGE_BINS 12 /* Up to 4M chunks */
|
||||
# define TCACHE_MAX_BINS (TCACHE_SMALL_BINS + TCACHE_LARGE_BINS)
|
||||
# define MAX_TCACHE_SMALL_SIZE tidx2usize (TCACHE_MAX_BINS-1)
|
||||
# define MAX_TCACHE_SMALL_SIZE tidx2usize (TCACHE_SMALL_BINS-1)
|
||||
|
||||
/* Only used to pre-fill the tunables. */
|
||||
# define tidx2usize(idx) (((size_t) idx) * MALLOC_ALIGNMENT + MINSIZE - SIZE_SZ)
|
||||
|
|
Loading…
Reference in New Issue