diff options
author | Linus Torvalds | 2012-03-06 20:16:17 +0100 |
---|---|---|
committer | Linus Torvalds | 2012-03-09 03:08:44 +0100 |
commit | bfcfaa77bdf0f775263e906015982a608df01c76 (patch) | |
tree | 6671137d4af157b851d953b7e2809abbfa809e81 /arch/x86/Kconfig | |
parent | Merge tag 'fixes-urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/arm... (diff) | |
download | kernel-qcow2-linux-bfcfaa77bdf0f775263e906015982a608df01c76.tar.gz kernel-qcow2-linux-bfcfaa77bdf0f775263e906015982a608df01c76.tar.xz kernel-qcow2-linux-bfcfaa77bdf0f775263e906015982a608df01c76.zip |
vfs: use 'unsigned long' accesses for dcache name comparison and hashing
Ok, this is hacky, and only works on little-endian machines with goo
unaligned handling. And even then only with CONFIG_DEBUG_PAGEALLOC
disabled, since it can access up to 7 bytes after the pathname.
But it runs like a bat out of hell.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 5bed94e189fa..09675d3e0ac3 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -82,6 +82,7 @@ config X86 select CLKEVT_I8253 select ARCH_HAVE_NMI_SAFE_CMPXCHG select GENERIC_IOMAP + select DCACHE_WORD_ACCESS if !DEBUG_PAGEALLOC config INSTRUCTION_DECODER def_bool (KPROBES || PERF_EVENTS) |