tikv_jemallocator::ffi

Type Alias extent_merge_t

source
pub type extent_merge_t = unsafe extern "C" fn(_: *mut extent_hooks_s, _: *mut c_void, _: usize, _: *mut c_void, _: usize, _: bool, _: u32) -> bool;
Expand description

Extent merge function.

Optionally merges adjacent extents, at given addr_a and size_a with given addr_b and size_b into one contiguous extent, operating on committed/decommitted memory as indicated, on behalf of arena arena_ind, returning false upon success.

If the function returns true, this indicates that the extents remain distinct mappings and therefore should continue to be operated on independently.