From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3vzzNM3hDrzDqHl for ; Fri, 7 Apr 2017 22:26:59 +1000 (AEST) Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v37CNU69060082 for ; Fri, 7 Apr 2017 08:26:51 -0400 Received: from e28smtp04.in.ibm.com (e28smtp04.in.ibm.com [125.16.236.4]) by mx0b-001b2d01.pphosted.com with ESMTP id 29p5rqqjbr-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 07 Apr 2017 08:26:51 -0400 Received: from localhost by e28smtp04.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 7 Apr 2017 17:56:48 +0530 Received: from d28av04.in.ibm.com (d28av04.in.ibm.com [9.184.220.66]) by d28relay07.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v37CPQEV15204462 for ; Fri, 7 Apr 2017 17:55:26 +0530 Received: from d28av04.in.ibm.com (localhost [127.0.0.1]) by d28av04.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id v37CQieM019259 for ; Fri, 7 Apr 2017 17:56:45 +0530 Subject: Re: [RFC PATCH 7/7] powerpc/hugetlb: Enable hugetlb migration for ppc64 To: "Aneesh Kumar K.V" , benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au References: <1491314675-15787-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <1491314675-15787-7-git-send-email-aneesh.kumar@linux.vnet.ibm.com> Cc: linuxppc-dev@lists.ozlabs.org From: Anshuman Khandual Date: Fri, 7 Apr 2017 17:56:35 +0530 MIME-Version: 1.0 In-Reply-To: <1491314675-15787-7-git-send-email-aneesh.kumar@linux.vnet.ibm.com> Content-Type: text/plain; charset=windows-1252 Message-Id: List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 04/04/2017 07:34 PM, Aneesh Kumar K.V wrote: > Signed-off-by: Aneesh Kumar K.V > --- > arch/powerpc/platforms/Kconfig.cputype | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype > index 382c3dd86d6d..c0ca27521679 100644 > --- a/arch/powerpc/platforms/Kconfig.cputype > +++ b/arch/powerpc/platforms/Kconfig.cputype > @@ -350,6 +350,11 @@ config PPC_RADIX_MMU > is only implemented by IBM Power9 CPUs, if you don't have one of them > you can probably disable this. > > +config ARCH_ENABLE_HUGEPAGE_MIGRATION > + def_bool y > + depends on PPC_BOOK3S_64 && HUGETLB_PAGE && MIGRATION > + I have tested this patch series both for anon and file mapping on a POWER8 box with 16MB pages. Will try to test it for 16GB pages on a PVM system.