Expand description
Slab-backed allocation and recycling for FBuf.
This module keeps a small set of per-size-class freelists for power-of-two
FBuf capacities. Allocations that do not fit a slab size class fall back
to direct allocation and deallocation.
Structs§
- FBuf
Slab Stats Snapshot - Snapshot of one slab size class.
- FBuf
Slabs - Power-of-two free lists for recycling
FBufallocations. - FBuf
Slabs Stats - Snapshot of an
FBufSlabs.
Statics§
- TOKIO_
FBUF_ SLABS - Per-task override for the active
FBufslab set.
Functions§
- set_
thread_ slab_ pool - Installs a slab pool for the current thread and returns the previous one.