Eset: take opt_lg_max_active_fit as a parameter.

This breaks its dependence on the global.
This commit is contained in:
David Goldblatt
2020-03-14 09:46:09 -07:00
committed by David Goldblatt
parent 883ab327cc
commit 7bb6e2dc0d
3 changed files with 31 additions and 14 deletions

View File

@@ -52,6 +52,6 @@ void eset_remove(eset_t *eset, edata_t *edata);
* null if no such item could be found.
*/
edata_t *eset_fit(eset_t *eset, size_t esize, size_t alignment,
bool delay_coalesce);
unsigned lg_max_fit);
#endif /* JEMALLOC_INTERNAL_ESET_H */