On Tue, 22 Oct 2024 10:33:46 +0200, Ahmad Fatoum wrote:
> kzalloc() uses at least DMA_ALIGNMENT as alignment, which is more than
> we need for the data structures that are used to hold the partition info.
>
> Use the normal allocator to be more efficient with memory.
>
>
Applied, thanks!
[1/2] partitions: efi: use calloc instead of kzalloc
https://git.pengutronix.de/cgit/barebox/commit/?id=7faca080705f (link may
not be stable)
[2/2] partition: dos: use xmalloc for unchecked allocations
https://git.pengutronix.de/cgit/barebox/commit/?id=c528475db3ef (link may
not be stable)
Best regards,
--
Sascha Hauer <[email protected]>