| void Spices::CentralCache::ReleaseListToSpans | ( | void * | start, |
| size_t | size ) |
Release memory to pc.
| [in] | start | memory start pointer. |
| [in] | size | aligned bytes. |
Iter all blocks and insert to span.
Find span.
Insert from head to span.
if span is not in use, than release to pc.
unlock span mutex.
release to pc.
get span mutex.
Iter all blocks and insert to span.
Find span.
Insert from head to span.
if span is not in use, than release to pc.
unlock span mutex.
release to pc.
get span mutex.
Definition at line 122 of file CentralCache.cpp.
References Spices::PageCache::Get(), scl::span::m_FreeList, Spices::PageCache::MapObjectToSpan(), Spices::MemoryPool::PointerSpace(), and Spices::PageCache::ReleaseSpanToPageCache().