Searched hist:"703 b5faf" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | stringhash.h | 703b5faf Thu Jun 09 23:22:12 CDT 2016 George Spelvin <linux@sciencehorizons.net> 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> 703b5faf Thu Jun 09 23:22:12 CDT 2016 George Spelvin <linux@sciencehorizons.net> 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>
|
/openbmc/linux/fs/ |
H A D | dcache.c | 703b5faf Thu Jun 09 23:22:12 CDT 2016 George Spelvin <linux@sciencehorizons.net> 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>
|