@@ -24,13 +24,13 @@ static inline int fls(int x)
* arena. On free we keep the freed object in hope of reusing it in
* future allocations.
*/
-#define CACHE_SIZE_BITS (16)
+#define CACHE_SIZE_BITS (17)
#define CACHE_SIZE (1 << CACHE_SIZE_BITS)
#define MAX_CACHED_SIZE_BITS (CACHE_SIZE_BITS - 3)
#define MAX_CACHED_SIZE (1 << MAX_CACHED_SIZE_BITS)
#define MAX_PREFETCH_SIZE_BITS (CACHE_SIZE_BITS - 6)
#define MAX_PREFETCH_SIZE (1 << MAX_PREFETCH_SIZE_BITS)
-#define NO_PREFETCH (1 << 3)
+#define NO_PREFETCH (1)
/*
* Binning is done as a subdivided buddy allocator. A buddy allocator