mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-24 17:47:22 +03:00
Extent -> Ehooks: Move purge_forced hook.
This commit is contained in:
parent
368baa42ef
commit
a5b42a1a10
4 changed files with 41 additions and 36 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue