Thread (12 messages) 12 messages, 2 authors, 2018-05-04

Re: [PATCH v2 9/9] powerpc/hugetlb: Enable hugetlb migration for ppc64

From: Aneesh Kumar K.V <hidden>
Date: 2018-05-04 08:25:47
Also in: linux-mm, lkml

Christophe LEROY [off-list ref] writes:
Le 16/05/2017 =C3=A0 11:23, Aneesh Kumar K.V a =C3=A9crit=C2=A0:
quoted
Signed-off-by: Aneesh Kumar K.V <redacted>
---
  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
quoted
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
quoted
  	  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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help