commit | 703b5faf22fbddf984a361e6555f3a03fdba63d9 | [log] [tgz] |
---|---|---|
author | George Spelvin <linux@sciencehorizons.net> | Fri Jun 10 00:22:12 2016 -0400 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sat Jun 11 14:57:56 2016 -0700 |
tree | 6bcfde71273dc055ba28abedd8305d6a829639f5 | |
parent | 8387ff2577eb9ed245df9a39947f66976c6bcd02 [diff] |
fs/dcache.c: Save one 32-bit multiply in dcache lookup Noe that we're mixing in the parent pointer earlier, we don't need to use hash_32() to mix its bits. Instead, we can just take the msbits of the hash value directly. For those applications which use the partial_name_hash(), move the multiply to end_name_hash. Signed-off-by: George Spelvin <linux@sciencehorizons.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>