allow using the largest slab allocation size
parent
086eb1fee4
commit
d4b8fee1c4
|
@ -102,8 +102,8 @@ static const size_t min_align = 16;
|
||||||
static const size_t max_slab_size_class = 16384;
|
static const size_t max_slab_size_class = 16384;
|
||||||
#define MAX_SLAB_SIZE_CLASS_SHIFT 14
|
#define MAX_SLAB_SIZE_CLASS_SHIFT 14
|
||||||
#else
|
#else
|
||||||
static const size_t max_slab_size_class = 65536;
|
static const size_t max_slab_size_class = 131072;
|
||||||
#define MAX_SLAB_SIZE_CLASS_SHIFT 16
|
#define MAX_SLAB_SIZE_CLASS_SHIFT 17
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static const u32 size_classes[] = {
|
static const u32 size_classes[] = {
|
||||||
|
|
Loading…
Reference in New Issue