diff options
| author | George Spelvin <[email protected]> | 2016-06-10 04:22:12 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-06-11 21:57:56 +0000 |
| commit | 703b5faf22fbddf984a361e6555f3a03fdba63d9 (patch) | |
| tree | 6bcfde71273dc055ba28abedd8305d6a829639f5 /net/unix/af_unix.c | |
| parent | vfs: make the string hashes salt the hash (diff) | |
| download | kernel-703b5faf22fbddf984a361e6555f3a03fdba63d9.tar.gz kernel-703b5faf22fbddf984a361e6555f3a03fdba63d9.zip | |
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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
