kernel-aes67/fs/fat
OGAWA Hirofumi d3dfa8228f fat: improve fat_hash()
fat_hash() is using the algorithm known as bad. Instead of it, this
uses hash_32(). The following is the summary of test.

old hash:
	hash func (1000 times): 33489 cycles
	total inodes in hash table: 70926
	largest bucket contains: 696
	smallest bucket contains: 54

new hash:
	hash func (1000 times): 33129 cycles
	total inodes in hash table: 70926
	largest bucket contains: 315
	smallest bucket contains: 236

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-11-06 15:41:20 -08:00
..
cache.c fat: split include/msdos_fs.h 2008-11-06 15:41:20 -08:00
dir.c fat: cleanup fat_parse_long() error handling 2008-11-06 15:41:20 -08:00
fat.h fat: improve fat_hash() 2008-11-06 15:41:20 -08:00
fatent.c fat: split include/msdos_fs.h 2008-11-06 15:41:20 -08:00
file.c fat: split include/msdos_fs.h 2008-11-06 15:41:20 -08:00
inode.c fat: improve fat_hash() 2008-11-06 15:41:20 -08:00
Makefile fat: move fs/vfat/* and fs/msdos/* to fs/fat 2008-11-06 15:41:20 -08:00
misc.c fat: Fix and cleanup timestamp conversion 2008-11-06 15:41:20 -08:00
namei_msdos.c fat: Fix and cleanup timestamp conversion 2008-11-06 15:41:20 -08:00
namei_vfat.c fat: Fix and cleanup timestamp conversion 2008-11-06 15:41:20 -08:00