linux/fs/autofs4
Linus Torvalds 554828ee0d Merge branch 'salted-string-hash'
This changes the vfs dentry hashing to mix in the parent pointer at the
_beginning_ of the hash, rather than at the end.

That actually improves both the hash and the code generation, because we
can move more of the computation to the "static" part of the dcache
setup, and do less at lookup runtime.

It turns out that a lot of other hash users also really wanted to mix in
a base pointer as a 'salt' for the hash, and so the slightly extended
interface ends up working well for other cases too.

Users that want a string hash that is purely about the string pass in a
'salt' pointer of NULL.

* merge branch 'salted-string-hash':
  fs/dcache.c: Save one 32-bit multiply in dcache lookup
  vfs: make the string hashes salt the hash
2016-07-28 12:26:31 -07:00
..
autofs_i.h autofs races 2016-06-12 11:24:46 -04:00
dev-ioctl.c autofs4: use pr_xxx() macros directly for logging 2016-03-15 16:55:16 -07:00
expire.c autofs races 2016-06-12 11:24:46 -04: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 autofs races 2016-06-12 11:24:46 -04:00
symlink.c autofs4: coding style fixes 2016-03-15 16:55:16 -07:00
waitq.c Merge branch 'salted-string-hash' 2016-07-28 12:26:31 -07:00