Re: [PATCH] mm,page_alloc,cma: configurable CMA utilization

From: Sukadev Bhattiprolu
Date: Tue Jan 31 2023 - 15:10:09 EST


On Tue, Jan 31, 2023 at 10:10:40AM -0800, Roman Gushchin wrote:
> Hi Sukadev!
>
> Can you, please, share a bit more details about your setup? E.g. what is
> the zone size, the cma area size and the value you want to set your sysctl to?

Hi Roman,

I currently have a device with 8GB Zone normal and 600MB of CMA. We have a
slightly different implementation and use up all the available CMA region.
i.e. going forward, we intend to set the ratio to 100 or even higher.

We have other devices with 4GB or less memory but I don't have the CMA
size atm. Let me know if you need more info.

Thanks!

Sukadev