Hi Jan,

On 08/04/2021 13:23, Jan Beulich wrote:
There is a difference in generated code: xzalloc_bytes() forces
SMP_CACHE_BYTES alignment. I think we not only don't need this here, but
actually don't want it.

So I think moving to xmalloc_flex_struct() is a pretty good move. But I am actually a bit confused with the argument used.

Could you provide some details why you think forcing the array to be aligned to the maximum cache line supported (128 bytes on Arm) is wrong?

Cheers,

--
Julien Grall

Reply via email to