Skip to main content

MAX_SLAB_SIZE

Constant MAX_SLAB_SIZE 

Source
const MAX_SLAB_SIZE: usize = _; // 2_040usize
Expand description

Allocations with effective size above this threshold bypass the slab. Maximum payload size that can be served from the slab allocator. Must account for REDZONE_TAIL: the actual slab class must be >= payload + redzone.