MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / pages_unmap

Function pages_unmap

deps/jemalloc/src/pages.c:240–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240void
241pages_unmap(void *addr, size_t size) {
242 assert(PAGE_ADDR2BASE(addr) == addr);
243 assert(PAGE_CEILING(size) == size);
244
245 os_pages_unmap(addr, size);
246}
247
248static bool
249pages_commit_impl(void *addr, size_t size, bool commit) {

Callers 4

extent_dalloc_mmapFunction · 0.70
extent_dalloc_unmapFunction · 0.50
pages.cFile · 0.50

Calls

no outgoing calls

Tested by 1

extent_dalloc_unmapFunction · 0.40