Re: [PATCH v6 2/6] mm/cma: introduce new zone, ZONE_CMA

From: Joonsoo Kim
Date: Mon Nov 07 2016 - 01:13:19 EST


On Tue, Nov 01, 2016 at 03:58:32PM +0800, Chen Feng wrote:
> Hello, I hava a question on cma zone.
>
> When we have cma zone, cma zone will be the highest zone of system.
>
> In android system, the most memory allocator is ION. Media system will
> alloc unmovable memory from it.
>
> On low memory scene, will the CMA zone always do balance?

Allocation request for low zone (normal zone) would not cause CMA zone
to be balanced since it isn't helpful.

> Should we transmit the highest available zone to kswapdï

It is already done when necessary.

Thanks.