On 28.01.25 02:04, Juan Yescas wrote:
Hi LSF organizers, I would like to continue discussing this topic with the mm community: "CMA reservation optimizations" Note: There is already an email in the linux-mm mailing list that is discussing this issue. The title is: "CMA reservations require 32MiB alignment in 16KiB page size kernels instead of 8MiB in 4KiB page size kernel" Background When the drivers reserve CMA memory in 16KiB kernels, the minimum alignment is 32 MiB as per CMA_MIN_ALIGNMENT_BYTES. However, in 4KiB kernels, the CMA alignment is 4MiB.
I'm curious, here you say 4 MiB, above 8 MiB. But nowadays it's usually 2 MiB (pageblock size), no? -- Cheers, David / dhildenb