Home
last modified time | relevance | path

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

/lk-master/lib/heap/cmpctmalloc/
A Dcmpctmalloc.c37 #if WITH_KERNEL_VM && !defined(HEAP_GROW_SIZE)
38 #define HEAP_GROW_SIZE (1 * 1024 * 1024) /* Grow aggressively */ macro
39 #elif !defined(HEAP_GROW_SIZE)
40 #define HEAP_GROW_SIZE (4 * 1024) /* Grow less aggressively */ macro
43 STATIC_ASSERT(IS_PAGE_ALIGNED(HEAP_GROW_SIZE));
52 STATIC_ASSERT(HEAP_GROW_SIZE <= (1u << HEAP_ALLOC_VIRTUAL_BITS));
700 MAX(HEAP_GROW_SIZE, rounded_up))); in cmpct_alloc()
854 size_t initial_alloc = HEAP_GROW_SIZE - 2 * sizeof(header_t); in cmpct_init()

Completed in 5 milliseconds