Skip to content

Conversation

@bbernhar
Copy link
Contributor

@bbernhar bbernhar commented May 5, 2022

Removes the min. block size from SlabCacheAllocator by using the requested size-aligned value instead. This allows backends to use smaller (or larger) page sizes as needed.

Removes the min. block size from the SlabCacheAllocator by using the requested size-aligned value instead. This allows backends to use smaller (or larger) page sizes as requested.

This optimization specifically helps allocating "small" resources that can use smaller page sizes (4KB vs 64KB).
@bbernhar bbernhar added the enhancement New feature or request label May 5, 2022
@bbernhar bbernhar merged commit 592fea1 into main May 5, 2022
@bbernhar bbernhar deleted the tmp2 branch May 5, 2022 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants