mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 13:13:06 +00:00
SC: Name the max lookup constant.
This commit is contained in:
committed by
David Goldblatt
parent
79dd0c04ed
commit
46471ea327
4
src/sc.c
4
src/sc.c
@@ -259,10 +259,8 @@ void
|
||||
sc_data_init(sc_data_t *sc_data) {
|
||||
assert(!sc_data->initialized);
|
||||
|
||||
int lg_max_lookup = 12;
|
||||
|
||||
size_classes(sc_data, LG_SIZEOF_PTR, LG_QUANTUM, SC_LG_TINY_MIN,
|
||||
lg_max_lookup, LG_PAGE, SC_LG_NGROUP);
|
||||
SC_LG_MAX_LOOKUP, LG_PAGE, SC_LG_NGROUP);
|
||||
|
||||
sc_data->initialized = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user