[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120914072732.637f4225c32565468f468305@canb.auug.org.au>
Date: Fri, 14 Sep 2012 07:27:32 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Will Deacon <will.deacon@....com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org,
mhocko@...e.cz, Steve Capper <steve.capper@....com>,
Gerald Schaefer <gerald.schaefer@...ibm.com>
Subject: Re: [PATCH 3/3] mm: Introduce HAVE_ARCH_TRANSPARENT_HUGEPAGE
Hi Andrew,
On Thu, 13 Sep 2012 12:05:14 -0700 Andrew Morton <akpm@...ux-foundation.org> wrote:
>
> diff -puN arch/x86/Kconfig~mm-introduce-have_arch_transparent_hugepage arch/x86/Kconfig
> --- a/arch/x86/Kconfig~mm-introduce-have_arch_transparent_hugepage
> +++ a/arch/x86/Kconfig
> @@ -83,7 +83,6 @@ config X86
> select IRQ_FORCED_THREADING
> select USE_GENERIC_SMP_HELPERS if SMP
> select HAVE_BPF_JIT if X86_64
> - select HAVE_ARCH_TRANSPARENT_HUGEPAGE
Why not
select HAVE_ARCH_TRANSPARENT_HUGEPAGE if MMU
> select CLKEVT_I8253
> select ARCH_HAVE_NMI_SAFE_CMPXCHG
> select GENERIC_IOMAP
> @@ -1330,6 +1329,10 @@ config ILLEGAL_POINTER_VALUE
> default 0 if X86_32
> default 0xdead000000000000 if X86_64
>
> +config HAVE_ARCH_TRANSPARENT_HUGEPAGE
> + def_bool y
> + depends on MMU
> +
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
http://www.canb.auug.org.au/~sfr/
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists