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

Function metadata_thp_madvise

deps/jemalloc/src/base.c:25–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23/******************************************************************************/
24
25static inline bool
26metadata_thp_madvise(void) {
27 return (metadata_thp_enabled() &&
28 (init_system_thp_mode == thp_mode_default));
29}
30
31static void *
32base_map(tsdn_t *tsdn, extent_hooks_t *extent_hooks, unsigned ind, size_t size) {

Callers 5

base_unmapFunction · 0.85
base_block_allocFunction · 0.85
base_extent_allocFunction · 0.85
base_newFunction · 0.85

Calls 1

metadata_thp_enabledFunction · 0.85

Tested by

no test coverage detected