Skip to content
Snippets Groups Projects
Commit 393de3c8 authored by Nikolay Shirokovskiy's avatar Nikolay Shirokovskiy Committed by Vladimir Davydov
Browse files

box: allow slab_alloc_granularity = 4 back

It was disabled in the commit ccfef5fd ("memtx: ignore
slab_alloc_granularity < machine word size") to postpone addressing
unaligned objects issues.

Add PACKED attribute to inform compiler of unaligned objects. We also
need to introduce `struct stailq_entry_ptr` to be able to inform compiler
that `last` pointer unaligned too.

Closes #7422

NO_DOC=internal
NO_CHANGELOG=internal
parent eed09192
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment