]> git.baikalelectronics.ru Git - kernel.git/commit
vfs: use 'unsigned long' accesses for dcache name comparison and hashing
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Mar 2012 19:16:17 +0000 (11:16 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 9 Mar 2012 02:08:44 +0000 (18:08 -0800)
commitfc13a2ec9b0d9478b2b7972c0c9dc9b74f130c94
tree6671137d4af157b851d953b7e2809abbfa809e81
parentf3ab1c68355afea89c527f80c8c429c580451e4b
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>
arch/x86/Kconfig
fs/Kconfig
fs/dcache.c
fs/namei.c