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

Function extent_decommit_default

deps/jemalloc/src/extent.c:1943–1948  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1941}
1942
1943static bool
1944extent_decommit_default(extent_hooks_t *extent_hooks, void *addr, size_t size,
1945 size_t offset, size_t length, unsigned arena_ind) {
1946 return pages_decommit((void *)((uintptr_t)addr + (uintptr_t)offset),
1947 length);
1948}
1949
1950bool
1951extent_decommit_wrapper(tsdn_t *tsdn, arena_t *arena,

Callers

nothing calls this directly

Calls 1

pages_decommitFunction · 0.70

Tested by

no test coverage detected