Zephyr Memory Slabs: Size and Align Fixed Blocks for Predictable IPC Ownership
A memory slab becomes predictable when both its geometry and its outstanding-block budget are explicit. Verify the block stride, alignment and backing-buffer extent before counting free blocks. Then account for every allocated block, including blocks under construction, queued, being processed and retained for retry. A fixed-size allocator removes variable-size fragmentation within that slab; it does…