From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f71.google.com (mail-pa0-f71.google.com [209.85.220.71]) by kanga.kvack.org (Postfix) with ESMTP id 3C84282F64 for ; Tue, 30 Aug 2016 06:39:51 -0400 (EDT) Received: by mail-pa0-f71.google.com with SMTP id le9so31541617pab.0 for ; Tue, 30 Aug 2016 03:39:51 -0700 (PDT) Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com. [148.163.156.1]) by mx.google.com with ESMTPS id y187si44649584pfy.250.2016.08.30.03.39.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Aug 2016 03:39:50 -0700 (PDT) Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u7UAcuvr019559 for ; Tue, 30 Aug 2016 06:39:49 -0400 Received: from e32.co.us.ibm.com (e32.co.us.ibm.com [32.97.110.150]) by mx0a-001b2d01.pphosted.com with ESMTP id 2553644adk-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 30 Aug 2016 06:39:49 -0400 Received: from localhost by e32.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 30 Aug 2016 04:39:48 -0600 From: "Aneesh Kumar K.V" Subject: Re: [PATCH v5 0/6] Introduce ZONE_CMA In-Reply-To: References: <1472447255-10584-1-git-send-email-iamjoonsoo.kim@lge.com> <8737lnudq6.fsf@linux.vnet.ibm.com> Date: Tue, 30 Aug 2016 16:09:37 +0530 MIME-Version: 1.0 Content-Type: text/plain Message-Id: <87shtmsfpy.fsf@linux.vnet.ibm.com> Sender: owner-linux-mm@kvack.org List-ID: To: Joonsoo Kim Cc: Andrew Morton , Rik van Riel , Johannes Weiner , Mel Gorman , Laura Abbott , Minchan Kim , Marek Szyprowski , Michal Nazarewicz , Vlastimil Babka , Linux Memory Management List , LKML , Joonsoo Kim Joonsoo Kim writes: > 2016-08-29 18:27 GMT+09:00 Aneesh Kumar K.V : >> js1304@gmail.com writes: >> >>> From: Joonsoo Kim >>> >>> Hello, >>> >>> Changes from v4 >>> o Rebase on next-20160825 >>> o Add general fix patch for lowmem reserve >>> o Fix lowmem reserve ratio >>> o Fix zone span optimizaion per Vlastimil >>> o Fix pageset initialization >>> o Change invocation timing on cma_init_reserved_areas() >> >> I don't see much information regarding how we interleave between >> ZONE_CMA and other zones for movable allocation. Is that explained in >> any of the patch ? The fair zone allocator got removed by >> e6cbd7f2efb433d717af72aa8510a9db6f7a7e05 > > Interleaving would not work since the fair zone allocator policy is removed. > I don't think that it's a big problem because it is just matter of > timing to fill > up the memory. Eventually, memory on ZONE_CMA will be fully used in > any case. Does that mean a CMA allocation will now be slower because in most case we will need to reclaim ? The zone list will now have ZONE_CMA in the beginning right ? -aneesh -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757620AbcH3Kjv (ORCPT ); Tue, 30 Aug 2016 06:39:51 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:49148 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753282AbcH3Kju (ORCPT ); Tue, 30 Aug 2016 06:39:50 -0400 X-IBM-Helo: d03dlp02.boulder.ibm.com X-IBM-MailFrom: aneesh.kumar@linux.vnet.ibm.com From: "Aneesh Kumar K.V" To: Joonsoo Kim Cc: Andrew Morton , Rik van Riel , Johannes Weiner , Mel Gorman , Laura Abbott , Minchan Kim , Marek Szyprowski , Michal Nazarewicz , Vlastimil Babka , Linux Memory Management List , LKML , Joonsoo Kim Subject: Re: [PATCH v5 0/6] Introduce ZONE_CMA In-Reply-To: References: <1472447255-10584-1-git-send-email-iamjoonsoo.kim@lge.com> <8737lnudq6.fsf@linux.vnet.ibm.com> Date: Tue, 30 Aug 2016 16:09:37 +0530 MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16083010-0004-0000-0000-0000103FA648 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00005673; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000183; SDB=6.00751570; UDB=6.00355233; IPR=6.00524372; BA=6.00004679; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00012514; XFM=3.00000011; UTC=2016-08-30 10:39:47 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16083010-0005-0000-0000-0000786BC684 Message-Id: <87shtmsfpy.fsf@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-08-30_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1608300104 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Joonsoo Kim writes: > 2016-08-29 18:27 GMT+09:00 Aneesh Kumar K.V : >> js1304@gmail.com writes: >> >>> From: Joonsoo Kim >>> >>> Hello, >>> >>> Changes from v4 >>> o Rebase on next-20160825 >>> o Add general fix patch for lowmem reserve >>> o Fix lowmem reserve ratio >>> o Fix zone span optimizaion per Vlastimil >>> o Fix pageset initialization >>> o Change invocation timing on cma_init_reserved_areas() >> >> I don't see much information regarding how we interleave between >> ZONE_CMA and other zones for movable allocation. Is that explained in >> any of the patch ? The fair zone allocator got removed by >> e6cbd7f2efb433d717af72aa8510a9db6f7a7e05 > > Interleaving would not work since the fair zone allocator policy is removed. > I don't think that it's a big problem because it is just matter of > timing to fill > up the memory. Eventually, memory on ZONE_CMA will be fully used in > any case. Does that mean a CMA allocation will now be slower because in most case we will need to reclaim ? The zone list will now have ZONE_CMA in the beginning right ? -aneesh