mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-22 01:20:39 +00:00
small_pools, which are responsible for allocations up to 16kB, aren't able to provide a buffer with alignment stricter than a page. This results in aligned allocations being broken for buffers in the range 4kB - 16kB. This patch make sure that if the alignment requirement is too big for small_pool to handle allocate_large_aligned() is used instead. Fixes #36. Signed-off-by: Paweł Dziepak <pdziepak@quarnos.org>
33 KiB
33 KiB