Re: [PATCH 1/2] partitions: efi: use calloc instead of kzalloc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <s.hauer@xxxxxxxxxxxxxx>





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux