linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] powerpc/mm: Enable HugeTLB page migration
@ 2016-01-28  9:11 Anshuman Khandual
  2016-01-28  9:11 ` [PATCH 2/2] selfttest/powerpc: Add memory page migration tests Anshuman Khandual
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Anshuman Khandual @ 2016-01-28  9:11 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: aneesh.kumar, mpe

This enables HugeTLB page migration for PPC64_BOOK3S systems which implement
HugeTLB page at the PMD level. It enables the kernel configuration option
CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION by default which turns on the function
hugepage_migration_supported() during migration. After the recent changes
to the PTE format, HugeTLB page migration happens successfully.

Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
---
 arch/powerpc/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index e4824fd..65d52a0 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -82,6 +82,10 @@ config GENERIC_HWEIGHT
 config ARCH_HAS_DMA_SET_COHERENT_MASK
         bool
 
+config ARCH_ENABLE_HUGEPAGE_MIGRATION
+	def_bool y
+	depends on PPC_BOOK3S_64 && HUGETLB_PAGE && MIGRATION
+
 config PPC
 	bool
 	default y
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-02-24 12:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-28  9:11 [PATCH 1/2] powerpc/mm: Enable HugeTLB page migration Anshuman Khandual
2016-01-28  9:11 ` [PATCH 2/2] selfttest/powerpc: Add memory page migration tests Anshuman Khandual
2016-01-28 11:04 ` [PATCH 1/2] powerpc/mm: Enable HugeTLB page migration Anshuman Khandual
2016-01-28 14:44 ` Aneesh Kumar K.V
2016-01-29  9:15   ` Anshuman Khandual
2016-02-02  6:19     ` Anshuman Khandual
2016-02-24 12:20       ` Anshuman Khandual

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).