Extent -> Ehooks: Move purge_forced hook.

This commit is contained in:
David Goldblatt
2019-12-03 13:11:54 -08:00
committed by David Goldblatt
parent 368baa42ef
commit a5b42a1a10
4 changed files with 41 additions and 36 deletions

View File

@@ -87,7 +87,8 @@ base_unmap(tsdn_t *tsdn, ehooks_t *ehooks, unsigned ind, void *addr,
if (!ehooks_decommit(tsdn, ehooks, addr, size, 0, size, ind)) {
goto label_post_reentrancy;
}
if (!ehooks_purge_forced(ehooks, addr, size, 0, size, ind)) {
if (!ehooks_purge_forced(tsdn, ehooks, addr, size, 0, size,
ind)) {
goto label_post_reentrancy;
}
if (!ehooks_purge_lazy(tsdn, ehooks, addr, size, 0, size,