You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm trying to create a memory_pool with 4KiB alignment. I tried to wrap the memory_pool with aligned_allocator, but it fails as the max alignment from a reason I can't understand is 8 bytes. Is there a way to create an allocator that allocated 4K buffers with pointers aligned to 4K?
I need this in order to handle some direct IO to 4K block devices.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to create a memory_pool with 4KiB alignment. I tried to wrap the memory_pool with aligned_allocator, but it fails as the max alignment from a reason I can't understand is 8 bytes. Is there a way to create an allocator that allocated 4K buffers with pointers aligned to 4K?
I need this in order to handle some direct IO to 4K block devices.
Thanks!
The text was updated successfully, but these errors were encountered: