Relax opt_lg_chunk clamping constraints.
This commit is contained in:
parent
751f2c332d
commit
a83a31c1c5
@ -1051,16 +1051,8 @@ malloc_conf_init(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
CONF_HANDLE_BOOL(opt_abort, "abort", true)
|
CONF_HANDLE_BOOL(opt_abort, "abort", true)
|
||||||
/*
|
CONF_HANDLE_SIZE_T(opt_lg_chunk, "lg_chunk", LG_PAGE,
|
||||||
* Chunks always require at least one header page and as
|
(sizeof(size_t) << 3) - 1, true)
|
||||||
* many as 2^(LG_SIZE_CLASS_GROUP+1) data pages. In
|
|
||||||
* order to simplify options processing, use a
|
|
||||||
* conservative bound that accommodates all these
|
|
||||||
* constraints.
|
|
||||||
*/
|
|
||||||
CONF_HANDLE_SIZE_T(opt_lg_chunk, "lg_chunk", LG_PAGE +
|
|
||||||
LG_SIZE_CLASS_GROUP + 1, (sizeof(size_t) << 3) - 1,
|
|
||||||
true)
|
|
||||||
if (strncmp("dss", k, klen) == 0) {
|
if (strncmp("dss", k, klen) == 0) {
|
||||||
int i;
|
int i;
|
||||||
bool match = false;
|
bool match = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user