linux/arch/arm
Naoya Horiguchi c177c81e09 hugetlb: restrict hugepage_migration_support() to x86_64
Currently hugepage migration is available for all archs which support
pmd-level hugepage, but testing is done only for x86_64 and there're
bugs for other archs.  So to avoid breaking such archs, this patch
limits the availability strictly to x86_64 until developers of other
archs get interested in enabling this feature.

Simply disabling hugepage migration on non-x86_64 archs is not enough to
fix the reported problem where sys_move_pages() hits the BUG_ON() in
follow_page(FOLL_GET), so let's fix this by checking if hugepage
migration is supported in vma_migratable().

Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Reported-by: Michael Ellerman <mpe@ellerman.id.au>
Tested-by: Michael Ellerman <mpe@ellerman.id.au>
Acked-by: Hugh Dickins <hughd@google.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: David Miller <davem@davemloft.net>
Cc: <stable@vger.kernel.org>	[3.12+]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-06-04 16:53:51 -07:00
..
boot ARM: SoC driver changes 2014-06-02 16:35:49 -07:00
common ARM: SoC driver changes 2014-06-02 16:35:49 -07:00
configs USB driver patches for 3.16-rc1 2014-06-03 09:11:20 -07:00
crypto
firmware
include DeviceTree for 3.16: 2014-06-04 10:02:38 -07:00
kernel DeviceTree for 3.16: 2014-06-04 10:02:38 -07:00
kvm At over 200 commits, covering almost all supported architectures, this 2014-06-04 08:47:12 -07:00
lib
mach-at91 TTY/Serial driver patches for 3.16-rc1 2014-06-03 09:01:02 -07:00
mach-axxia ARM: Add platform support for LSI AXM55xx SoC 2014-05-23 18:18:39 +02:00
mach-bcm ARM: SoC updates for 3.16 (part 1) 2014-06-02 16:15:12 -07:00
mach-berlin ARM: berlin: add the pinctrl dependency for the Marvell Berlin SoCs 2014-05-19 22:52:39 +02:00
mach-clps711x
mach-cns3xxx ARM: kconfig: allow PCI support to be selected with ARCH_MULTIPLATFORM 2014-05-29 12:42:38 -07:00
mach-davinci ACPI and power management updates for 3.16-rc1 2014-06-04 08:57:16 -07:00
mach-dove
mach-ebsa110
mach-efm32
mach-ep93xx
mach-exynos DeviceTree for 3.16: 2014-06-04 10:02:38 -07:00
mach-footbridge
mach-gemini
mach-highbank
mach-hisi
mach-imx DeviceTree for 3.16: 2014-06-04 10:02:38 -07:00
mach-integrator
mach-iop13xx
mach-iop32x
mach-iop33x
mach-ixp4xx
mach-keystone
mach-kirkwood mvebu SoC changes for v3.16 2014-05-19 21:59:55 -07:00
mach-ks8695
mach-lpc32xx mmc: mmci: Enforce DMA configuration through DT 2014-06-02 11:20:25 +02:00
mach-mmp
mach-moxart
mach-msm USB driver patches for 3.16-rc1 2014-06-03 09:11:20 -07:00
mach-mv78xx0
mach-mvebu ARM: SoC updates for 3.16 (part 1) 2014-06-02 16:15:12 -07:00
mach-mxs
mach-netx
mach-nomadik
mach-nspire
mach-omap1
mach-omap2 fbdev changes for 3.16 (omap) 2014-06-04 09:07:08 -07:00
mach-orion5x ARM: SoC updates for 3.16 (part 1) 2014-06-02 16:15:12 -07:00
mach-picoxcell
mach-prima2
mach-pxa
mach-qcom ARM: SoC devicetree updates for 3.16 2014-06-02 16:34:00 -07:00
mach-realview
mach-rockchip ARM: rockchip: convert smp bringup to CPU_METHOD_OF_DECLARE 2014-05-26 11:15:53 -07:00
mach-rpc
mach-s3c24xx Merge branch 'v3.16-next/cleanup-samsung' into v3.16-next/platform-exynos 2014-05-31 02:36:49 +09:00
mach-s3c64xx
mach-s5p64x0
mach-s5pc100
mach-s5pv210
mach-sa1100
mach-shmobile ARM: SoC board support updates for 3.16 2014-06-02 16:21:41 -07:00
mach-socfpga
mach-spear
mach-sti ARM: STi: Add STiH407 SoC support 2014-05-17 10:22:30 +02:00
mach-sunxi ARM: sunxi: allow building without reset controller 2014-05-26 21:27:22 +02:00
mach-tegra ARM: SoC updates for 3.16 (part 1) 2014-06-02 16:15:12 -07:00
mach-u300
mach-ux500
mach-versatile
mach-vexpress ARM: vexpress: refine dependencies for new code 2014-05-26 21:26:52 +02:00
mach-vt8500
mach-w90x900
mach-zynq ARM: zynq: Enable big-endian 2014-05-20 16:17:13 +02:00
mm hugetlb: restrict hugepage_migration_support() to x86_64 2014-06-04 16:53:51 -07:00
net
nwfpe
oprofile
plat-iop
plat-omap ARM: SoC cleanups for 3.16 2014-06-02 16:14:07 -07:00
plat-orion
plat-pxa
plat-samsung DeviceTree for 3.16: 2014-06-04 10:02:38 -07:00
plat-versatile
tools
vfp
xen
Kconfig This is the bulk of pin control changes for the v3.16 2014-06-03 11:20:32 -07:00
Kconfig-nommu
Kconfig.debug Samsung Exynos updates for 3.16 2014-05-30 21:44:49 -07:00
Makefile ARM: Add platform support for LSI AXM55xx SoC 2014-05-23 18:18:39 +02:00