mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-01 07:00:55 +00:00
This patch changes the organization of the slab blocks within the slab allocator. Originally, blocks were kept in a list sorted by the number of free entries. However, it turned out that the maintenance of this invariant involves a lot of overhead in the presence of a large number of blocks. The new implementation manages blocks within a ring in no particular order and maintains a pointer to the block where the next allocation is attempted. This alleviates the need for sorting blocks when allocating and deallocating. Fixes #1908
This directory contains include files of interfaces that are exported by components to be used by other components. Each subdirectory corresponds to the component exporting the interface.