Re: lib/genalloc

From: Stephen Bates
Date: Thu Nov 01 2018 - 12:48:51 EST


> 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.

Alexey

Can you try using gen_pool_first_fit_order_align()? Will that give you the alignment you need?

Stephen