Move remote cache out of alloc.h

Consolidate the remote code into a single file.
This commit is contained in:
Matthew Parkinson
2021-04-08 15:53:51 +01:00
committed by Matthew Parkinson
parent e011c297e6
commit b3796c123e
4 changed files with 143 additions and 139 deletions

View File

@@ -126,7 +126,7 @@ namespace snmalloc
if (alloc->remote.capacity < REMOTE_CACHE)
{
alloc->stats().remote_post();
alloc->remote.post(&alloc->large_allocator, alloc->get_trunc_id());
alloc->remote.post(alloc, alloc->get_trunc_id());
done = false;
}