Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1493789

Re: [PATCH v1 12/12] mm: ppc64: Add THP migration support for ppc64.

From Balbir Singh <bsingharora@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v1 12/12] mm: ppc64: Add THP migration support for ppc64.
Date 2016-09-30 02:10 +0200
Message-ID <smTyN-2OB-3@gated-at.bofh.it> (permalink)
References <slG0V-5v6-3@gated-at.bofh.it> <slG0W-5v6-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 27/09/16 01:22, zi.yan@sent.com wrote:
> From: Zi Yan <zi.yan@cs.rutgers.edu>
> 
> Signed-off-by: Zi Yan <zi.yan@cs.rutgers.edu>
> ---
>  arch/powerpc/Kconfig                         |  4 ++++
>  arch/powerpc/include/asm/book3s/64/pgtable.h | 23 +++++++++++++++++++++++
>  2 files changed, 27 insertions(+)
> 
> diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
> index 927d2ab..84ffd4c 100644
> --- a/arch/powerpc/Kconfig
> +++ b/arch/powerpc/Kconfig
> @@ -553,6 +553,10 @@ config ARCH_SPARSEMEM_DEFAULT
>  config SYS_SUPPORTS_HUGETLBFS
>  	bool
>  
> +config ARCH_ENABLE_THP_MIGRATION
> +	def_bool y
> +	depends on PPC64 && TRANSPARENT_HUGEPAGE && MIGRATION

I had done the same patch before but never posted it, since Nayomi's patches
were blocked behind _PAGE_PSE (x86 specific concern for __pmdp_present())

Having said that this addition looks good to me

Acked-by: Balbir Singh <bsingharora@gmail.com>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v1 12/12] mm: ppc64: Add THP migration support for ppc64. zi.yan@sent.com - 2016-09-26 17:30 +0200
  Re: [PATCH v1 12/12] mm: ppc64: Add THP migration support for ppc64. Balbir Singh <bsingharora@gmail.com> - 2016-09-30 02:10 +0200
  Re: [PATCH v1 12/12] mm: ppc64: Add THP migration support for ppc64. "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> - 2016-09-30 07:20 +0200

csiph-web