diff options
author | Matthew Wilcox <matthew@wil.cx> | 2008-02-06 01:36:14 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 10:41:00 -0800 |
commit | 4e701482d1d7b90c358e2bd244bb71623f767120 (patch) | |
tree | a054f87e31645eba4d9e2c76396c54afbe6fa895 /drivers | |
parent | d9ae90ac4bdce769ddb27c2e24c3351a30c3daf8 (diff) |
hash: add explicit u32 and u64 versions of hash
The 32-bit version is more efficient (and apparently gives better hash
results than the 64-bit version), so users who are only hashing a 32-bit
quantity can now opt to use the 32-bit version explicitly, rather than
promoting to a long.
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Cc: William Lee Irwin III <wli@holomorphy.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions