We need at least 64 bits for atomic64
Change-Id: I08724d204f2a1603088c8737ca096a4b64314f6b
(cherry picked from commit 649e225bc9)
(cherry picked from commit b980166dba)
Allocate all bufferpool shards of the same size, regardless of
underlying allocator. This way increase memory usage a bit, but we're
already quite heavy on that, so no big deal.
Change-Id: Icbe09cd2f9b33bc58ab1efe7de293dea00236fec
Use allocators that return memory blocks aligned to the requested size,
instead of generic malloc. This makes it easier to play tricks with the
memory blocks.
Change-Id: Iad4b1127c76e48c2e9b4ad8489118d4883a24f6a