Crate rslab

Source

Structs§

SlabAllocator
SlabCache

Traits§

Object
自定义对象
ObjectAllocator
对象分配器接口,用于专门分配用户自定义对象

Functions§

init_slab_system
初始化slab系统,需要知道frame_size与cache_line_size
print_slab_system_info
打印系统内的所有cache 信息