We need a fixed-size object pool allocator that provides the following API:
We need a fixed-size object pool allocator that provides the following API:: a task in LegoFlow-SWE (Harbor dataset). The allocator manages pools of equal-sized objects, linked under a struct list item head. Each pool list must be dedicated to a single object size. The first successful allocation…
The task
The allocator manages pools of equal-sized objects, linked under a `struct list_item` head. Each pool list must be dedicated to a single object size. The first successful allocation with a given size establishes that size for the list; any subsequent call to `objpool_alloc` on the same list with a different size must…
Part of Lego-X/LegoFlow-SWE.