[][src]Type Definition jemallocator::ffi::extent_commit_t

type extent_commit_t = unsafe extern "C" fn(*mut extent_hooks_s, *mut c_void, usize, usize, usize, u32) -> i32;

Extent commit function.

Commits zeroed physical memory to back pages within an extent at given addr and size at offset bytes, extending for length on behalf of arena arena_ind, returning false upon success.

Committed memory may be committed in absolute terms as on a system that does not overcommit, or in implicit terms as on a system that overcommits and satisfies physical memory needs on demand via soft page faults. If the function returns true, this indicates insufficient physical memory to satisfy the request.