kernel_optimize_test/fs/autofs4
Linus Torvalds 8387ff2577 vfs: make the string hashes salt the hash
We always mixed in the parent pointer into the dentry name hash, but we
did it late at lookup time.  It turns out that we can simplify that
lookup-time action by salting the hash with the parent pointer early
instead of late.

A few other users of our string hashes also wanted to mix in their own
pointers into the hash, and those are updated to use the same mechanism.

Hash users that don't have any particular initial salt can just use the
NULL pointer as a no-salt.

Cc: Vegard Nossum <vegard.nossum@oracle.com>
Cc: George Spelvin <linux@sciencehorizons.net>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-06-10 20:21:46 -07:00
..
autofs_i.h autofs4: use pr_xxx() macros directly for logging 2016-03-15 16:55:16 -07:00
dev-ioctl.c autofs4: use pr_xxx() macros directly for logging 2016-03-15 16:55:16 -07:00
expire.c autofs4: use pr_xxx() macros directly for logging 2016-03-15 16:55:16 -07:00
init.c autofs4: coding style fixes 2016-03-15 16:55:16 -07:00
inode.c autofs4: use pr_xxx() macros directly for logging 2016-03-15 16:55:16 -07:00
Kconfig fs/Kconfig: move autofs, autofs4 out 2009-01-22 13:15:54 +03:00
Makefile autofs4: add miscellaneous device for ioctls 2008-10-16 11:21:39 -07:00
root.c dcache_{readdir,dir_lseek}() users: switch to ->iterate_shared 2016-05-02 19:49:32 -04:00
symlink.c autofs4: coding style fixes 2016-03-15 16:55:16 -07:00
waitq.c vfs: make the string hashes salt the hash 2016-06-10 20:21:46 -07:00