mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]>
This commit is contained in:
parent
9f8050c4f9
commit
bfcfaa77bd
4 changed files with 150 additions and 0 deletions
|
|
@ -4,6 +4,10 @@
|
|||
|
||||
menu "File systems"
|
||||
|
||||
# Use unaligned word dcache accesses
|
||||
config DCACHE_WORD_ACCESS
|
||||
bool
|
||||
|
||||
if BLOCK
|
||||
|
||||
source "fs/ext2/Kconfig"
|
||||
|
|
|
|||
Loading…
Reference in a new issue