ARGOBOTS
dce6e727ffc4ca5b3ffc04cb9517c6689be51ec5
|
Go to the documentation of this file.
8 #ifdef ABT_CONFIG_USE_MEM_POOL
18 int num_requested_types = 0;
26 requested_types[num_requested_types++] =
32 requested_types[num_requested_types++] =
34 requested_types[num_requested_types++] =
39 requested_types[num_requested_types++] =
61 mprotect_config.
offset = 0;
75 stacksize, thread_stacksize,
89 #ifndef ABT_CONFIG_DISABLE_EXT_THREAD
130 #ifndef ABT_CONFIG_DISABLE_EXT_THREAD
void ABTI_mem_pool_destroy_local_pool(ABTI_mem_pool_local_pool *p_local_pool)
ABTI_mem_pool_local_pool mem_pool_desc_ext
@ ABTI_MEM_LP_MMAP_HP_THP
@ ABTI_STACK_GUARD_MPROTECT_STRICT
int ABTU_is_supported_largepage_type(size_t size, size_t alignment_hint, ABTU_MEM_LARGEPAGE_TYPE requested)
ABTU_ret_err int ABTI_mem_init(ABTI_global *p_global)
static size_t ABTU_roundup_size(size_t val, size_t multiple)
ABTI_mem_pool_global_pool mem_pool_stack
#define ABTI_CHECK_ERROR(abt_errno)
#define ABT_MEM_POOL_MAX_LOCAL_BUCKETS
ABTI_mem_pool_local_pool mem_pool_stack
@ ABTU_MEM_LARGEPAGE_MMAP
ABTI_stack_guard stack_guard_kind
@ ABTU_MEM_LARGEPAGE_MMAP_HUGEPAGE
void ABTI_mem_finalize(ABTI_global *p_global)
#define ABTI_HANDLE_ERROR(n)
void ABTI_mem_finalize_local(ABTI_xstream *p_local_xstream)
ABTI_mem_pool_local_pool mem_pool_stack_ext
#define ABTI_ASSERT(cond)
#define ABT_CONFIG_STATIC_CACHELINE_SIZE
ABTU_ret_err int ABTI_mem_pool_init_local_pool(ABTI_mem_pool_local_pool *p_local_pool, ABTI_mem_pool_global_pool *p_global_pool)
#define ABTI_STATIC_ASSERT(cond)
#define ABT_SUCCESS
Error code: the routine returns successfully.
ABTU_ret_err int ABTI_mem_init_local(ABTI_global *p_global, ABTI_xstream *p_local_xstream)
@ ABTU_MEM_LARGEPAGE_MALLOC
ABTI_mem_pool_local_pool mem_pool_desc
@ ABTI_STACK_GUARD_MPROTECT
#define ABT_TRUE
True constant for ABT_bool.
static void ABTD_spinlock_clear(ABTD_spinlock *p_lock)
#define ABT_FALSE
False constant for ABT_bool.
ABTD_spinlock mem_pool_desc_lock
ABTD_spinlock mem_pool_stack_lock
@ ABTU_MEM_LARGEPAGE_MEMALIGN
void ABTI_mem_pool_init_global_pool(ABTI_mem_pool_global_pool *p_global_pool, size_t num_headers_per_bucket, size_t header_size, size_t header_offset, size_t page_size, const ABTU_MEM_LARGEPAGE_TYPE *lp_type_requests, uint32_t num_lp_type_requests, size_t alignment_hint, ABTI_mem_pool_global_pool_mprotect_config *p_mprotect_config)
void ABTI_mem_pool_destroy_global_pool(ABTI_mem_pool_global_pool *p_global_pool)
int ABTI_mem_check_lp_alloc(ABTI_global *p_global, int lp_alloc)
#define ABTI_MEM_POOL_DESC_ELEM_SIZE
ABTI_mem_pool_global_pool mem_pool_desc