namei: Improve hash mixing if CONFIG_DCACHE_WORD_ACCESS
authorGeorge Spelvin <linux@horizon.com>
Mon, 2 May 2016 10:31:01 +0000 (06:31 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 16 May 2016 18:35:08 +0000 (11:35 -0700)
commit0fed3ac866eabf01924457921ee3684c8e4c9005
treed32e64a6c0dbe6f93e5345caec509cc580db2a37
parent2dcd0af568b0cf583645c8a317dd12e344b1c72a
namei: Improve hash mixing if CONFIG_DCACHE_WORD_ACCESS

The hash mixing between adding the next 64 bits of name
was just a bit weak.

Replaced with a still very fast but slightly more effective
mixing function.

Signed-off-by: George Spelvin <linux@horizon.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/namei.c