# \[PATCH 4/4\] x86: select HAVE\_MOVE\_PMD for faster mremap (v1)

- From: Joel Fernandes (Google) \<hidden\>
- Date: 2018-10-13 01:32:30 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2018/10/6489754
- Thread: https://ratatoskr.run/linux-alpha/2018/10/6489750/t.md

```text
Moving page-tables at the PMD-level on x86 is known to be safe. Enable
this option so that we can do fast mremap when possible.

Signed-off-by: Joel Fernandes (Google) <redacted>
---
 arch/x86/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 1a0be022f91d..01c02a9d7825 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -171,6 +171,7 @@ config X86
 	select HAVE_MEMBLOCK_NODE_MAP
 	select HAVE_MIXED_BREAKPOINTS_REGS
 	select HAVE_MOD_ARCH_SPECIFIC
+	select HAVE_MOVE_PMD
 	select HAVE_NMI
 	select HAVE_OPROFILE
 	select HAVE_OPTPROBES
-- 
2.19.0.605.g01d371f741-goog

```
