Home
last modified time | relevance | path

Searched refs:HUGEPAGE (Results 1 – 12 of 12) sorted by relevance

/src/contrib/jemalloc/include/jemalloc/internal/
H A Dpages.h21 #define HUGEPAGE ((size_t)(1U << LG_HUGEPAGE)) macro
22 #define HUGEPAGE_MASK ((size_t)(HUGEPAGE - 1))
25 # define HUGEPAGE_PAGES (HUGEPAGE / PAGE)
H A Dhpa_opts.h57 HUGEPAGE * 95 / 100, \
H A Djemalloc_internal_defs.h.in280 * Defined if transparent huge pages are supported via the MADV_[NO]HUGEPAGE
320 * MADV_[NO]HUGEPAGE arguments to madvise(2), and THP support is enabled.
/src/contrib/jemalloc/src/
H A Dhpa.c9 #define HPA_EDEN_SIZE (128 * HUGEPAGE)
94 assert(size <= HUGEPAGE); in hpa_central_extract()
108 if (central->eden != NULL && central->eden_len == HUGEPAGE) { in hpa_central_extract()
134 void *new_eden = pages_map(NULL, HPA_EDEN_SIZE, HUGEPAGE, in hpa_central_extract()
161 assert(central->eden_len > HUGEPAGE); in hpa_central_extract()
162 assert(central->eden_len % HUGEPAGE == 0); in hpa_central_extract()
168 eden_char += HUGEPAGE; in hpa_central_extract()
170 central->eden_len -= HUGEPAGE; in hpa_central_extract()
423 HUGEPAGE); in hpa_try_purge()
432 assert(total_purged <= HUGEPAGE); in hpa_try_purge()
[all …]
H A Dexp_grow.c6 exp_grow->next = sz_psz2ind(HUGEPAGE); in exp_grow_init()
H A Dhpa_hooks.c27 return pages_map(NULL, size, HUGEPAGE, &commit); in hpa_hooks_map()
H A Dehooks.c56 assert(arena != NULL || alignment == HUGEPAGE); in ehooks_default_alloc_impl()
H A Dpsset.c319 assert(size <= HUGEPAGE); in psset_pick_alloc()
H A Dbase.c47 size_t alignment = HUGEPAGE; in base_map()
H A Dpages.c502 m.mha_pagesize = HUGEPAGE; in pages_huge_impl()
H A Djemalloc.c1474 "hpa_slab_max_alloc", PAGE, HUGEPAGE, in malloc_conf_init_helper()
1482 "hpa_hugification_threshold", PAGE, HUGEPAGE, in malloc_conf_init_helper()
1495 fxp_mul_frac(HUGEPAGE, ratio); in malloc_conf_init_helper()
/src/contrib/jemalloc/
H A Dconfigure.ac2256 dnl Check for madvise(..., MADV_[NO]HUGEPAGE).
2257 JE_COMPILABLE([madvise(..., MADV_[[NO]]HUGEPAGE)], [