core/heap.c
/* De-commits from a committed region. */
De-commits from a committed region.
De - commits from a committed region .
void
heap_mmap_retract_commitment(void *retract_start, size_t decommit_size)
{
    heap_error_code_t error_code;
    ASSERT(ALIGNED(decommit_size, PAGE_SIZE));
    vmm_heap_decommit(retract_start, decommit_size, &error_code);
    STATS_ADD(mmap_reserved_only, decommit_size);
    STATS_ADD_PEAK(mmap_capacity, -(stats_int_t)decommit_size);
}
void heap_mmap_retract_commitment ( void * retract_start , size_t decommit_size ) { heap_error_code_t error_code ; ASSERT ( ALIGNED ( decommit_size , PAGE_SIZE ) ) ; vmm_heap_decommit ( retract_start , decommit_size , & error_code ) ; STATS_ADD ( mmap_reserved_only , decommit_size ) ; STATS_ADD_PEAK ( mmap_capacity , - ( stats_int_t ) decommit_size ) ; }
De-commits from a committed region.
De - commits from a committed region .