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
..
2008-10-22 18:48:45 -05:00
2008-10-27 08:40:17 -07:00
2008-08-20 15:40:32 -07:00
2008-10-13 09:47:43 +11:00
2008-09-05 09:51:30 -05:00
2008-11-06 15:41:20 -08:00
2008-04-29 08:06:00 -07:00
2008-11-01 09:49:46 -07:00
2008-10-23 05:12:58 -04:00
2008-10-30 11:38:46 -07:00
2008-10-17 02:38:36 +11:00
2008-07-26 20:53:40 -04:00
2008-07-26 12:00:08 -07:00
2008-10-16 11:21:38 -07:00
2008-10-09 08:57:05 +02:00
2008-10-20 08:52:32 -07:00
2008-10-23 05:12:59 -04:00
2008-05-01 13:08:16 -04:00
2008-08-01 11:25:24 -04:00
2008-10-30 11:38:45 -07:00
2008-11-01 09:49:46 -07:00
2008-07-25 10:53:35 -07:00
2008-10-30 11:38:45 -07:00