Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1515877

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

From Chen Feng <puck.chen@hisilicon.com>
Newsgroups linux.kernel
Subject Re: [PATCH v6 2/6] mm/cma: introduce new zone, ZONE_CMA
Date 2016-11-07 08:20 +0100
Message-ID <sAMnL-8cf-3@gated-at.bofh.it> (permalink)
References <ss12F-45Z-3@gated-at.bofh.it> <ss12F-45Z-7@gated-at.bofh.it> <syCiS-63V-17@gated-at.bofh.it> <sALrH-7Ef-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 2016/11/7 14:15, Joonsoo Kim wrote:
> 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.
> 
Yes. But the cma zone will run out soon. And it always need to do balance.

How about use migrate cma before movable and let cma type to fallback movable.

https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1263745.html

>> Should we transmit the highest available zone to kswapd?
> 
> It is already done when necessary.
> 
> Thanks.
> 
> 
> .
> 

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v6 2/6] mm/cma: introduce new zone, ZONE_CMA Chen Feng <puck.chen@hisilicon.com> - 2016-11-01 09:10 +0100
  Re: [PATCH v6 2/6] mm/cma: introduce new zone, ZONE_CMA Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2016-11-07 07:20 +0100
    Re: [PATCH v6 2/6] mm/cma: introduce new zone, ZONE_CMA Chen Feng <puck.chen@hisilicon.com> - 2016-11-07 08:20 +0100
      Re: [PATCH v6 2/6] mm/cma: introduce new zone, ZONE_CMA Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2016-11-07 08:30 +0100
        Re: [PATCH v6 2/6] mm/cma: introduce new zone, ZONE_CMA Chen Feng <puck.chen@hisilicon.com> - 2016-11-07 08:50 +0100
          Re: [PATCH v6 2/6] mm/cma: introduce new zone, ZONE_CMA Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2016-11-08 05:00 +0100
            Re: [PATCH v6 2/6] mm/cma: introduce new zone, ZONE_CMA Chen Feng <puck.chen@hisilicon.com> - 2016-11-08 08:10 +0100
              Re: [PATCH v6 2/6] mm/cma: introduce new zone, ZONE_CMA Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2016-11-11 07:40 +0100

csiph-web