From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (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 40clT91kq1zDqKX for ; Fri, 4 May 2018 18:25:48 +1000 (AEST) Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w448IprZ122213 for ; Fri, 4 May 2018 04:25:45 -0400 Received: from e06smtp14.uk.ibm.com (e06smtp14.uk.ibm.com [195.75.94.110]) by mx0a-001b2d01.pphosted.com with ESMTP id 2hrjbc4awe-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 04 May 2018 04:25:45 -0400 Received: from localhost by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 4 May 2018 09:25:43 +0100 From: "Aneesh Kumar K.V" To: Christophe LEROY , mpe@ellerman.id.au Cc: akpm@linux-foundation.org, linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 9/9] powerpc/hugetlb: Enable hugetlb migration for ppc64 In-Reply-To: <69b4fae5-d413-4866-7ce4-3873d3c6590f@c-s.fr> References: <1494926612-23928-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <1494926612-23928-10-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <69b4fae5-d413-4866-7ce4-3873d3c6590f@c-s.fr> Date: Fri, 04 May 2018 13:55:31 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Message-Id: <871serrfno.fsf@linux.vnet.ibm.com> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Christophe LEROY writes: > Le 16/05/2017 =C3=A0 11:23, Aneesh Kumar K.V a =C3=A9crit=C2=A0: >> Signed-off-by: Aneesh Kumar K.V >> --- >> arch/powerpc/platforms/Kconfig.cputype | 5 +++++ >> 1 file changed, 5 insertions(+) >>=20 >> diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platf= orms/Kconfig.cputype >> index 80175000042d..8acc4f27d101 100644 >> --- a/arch/powerpc/platforms/Kconfig.cputype >> +++ b/arch/powerpc/platforms/Kconfig.cputype >> @@ -351,6 +351,11 @@ config PPC_RADIX_MMU >> is only implemented by IBM Power9 CPUs, if you don't have one of th= em >> you can probably disable this. >>=20=20=20 >> +config ARCH_ENABLE_HUGEPAGE_MIGRATION >> + def_bool y >> + depends on PPC_BOOK3S_64 && HUGETLB_PAGE && MIGRATION >> + >> + > > Is there a reason why you redefine ARCH_ENABLE_HUGEPAGE_MIGRATION=20 > instead of doing a 'select' as it is already defined in mm/Kconfig ? > That got copied from x86 Kconfig i guess. -aneesh