summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
authorNick Piggin2008-07-30 07:23:13 +0200
committerBenjamin Herrenschmidt2008-07-30 07:26:54 +0200
commitce0ad7f0952581ba75ab6aee55bb1ed9bb22cf4f (patch)
treebf2a8845a031cb685219db2ddcb3d296b4a9ffab /arch/powerpc/Kconfig
parentpowerpc: Don't use the wrong thread_struct for ptrace get/set VSX regs (diff)
downloadkernel-qcow2-linux-ce0ad7f0952581ba75ab6aee55bb1ed9bb22cf4f.tar.gz
kernel-qcow2-linux-ce0ad7f0952581ba75ab6aee55bb1ed9bb22cf4f.tar.xz
kernel-qcow2-linux-ce0ad7f0952581ba75ab6aee55bb1ed9bb22cf4f.zip
powerpc/mm: Lockless get_user_pages_fast() for 64-bit (v3)
Implement lockless get_user_pages_fast for 64-bit powerpc. Page table existence is guaranteed with RCU, and speculative page references are used to take a reference to the pages without having a prior existence guarantee on them. Signed-off-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 587da5e0990f..63c9cafda9c4 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -42,6 +42,9 @@ config GENERIC_HARDIRQS
bool
default y
+config HAVE_GET_USER_PAGES_FAST
+ def_bool PPC64
+
config HAVE_SETUP_PER_CPU_AREA
def_bool PPC64