Tcache: Make size computation configurable.

This commit is contained in:
David Goldblatt
2020-05-11 12:08:19 -07:00
committed by David Goldblatt
parent 97b7a9cf77
commit 634afc4124
3 changed files with 52 additions and 15 deletions

View File

@@ -3,6 +3,7 @@
extern bool opt_tcache;
extern ssize_t opt_lg_tcache_max;
extern ssize_t opt_lg_tcache_nslots_mul;
/*
* Number of tcache bins. There are SC_NBINS small-object bins, plus 0 or more