lib/genalloc
From: Alexey Skidanov
Date: Thu Nov 01 2018 - 12:42:27 EST
Hi,
I use gen_pool_first_fit_align() as pool allocation algorithm allocating
buffers with requested alignment. But if a chunk base address is not
aligned to the requested alignment(from some reason), the returned
address is not aligned too.
The reason is the allocation algorithm works on bitmap, omitting the
base address. Is this behavior by design?
Thanks,
Alexey