Break prof and tcache knowledge of b0.

This commit is contained in:
David T. Goldblatt
2020-02-17 14:09:29 -08:00
committed by David Goldblatt
parent a0c1f4ac57
commit 29436fa056
6 changed files with 26 additions and 23 deletions

View File

@@ -2040,7 +2040,7 @@ tcache_create_ctl(tsd_t *tsd, const size_t *mib, size_t miblen,
unsigned tcache_ind;
READONLY();
if (tcaches_create(tsd, &tcache_ind)) {
if (tcaches_create(tsd, b0get(), &tcache_ind)) {
ret = EFAULT;
goto label_return;
}