diff options
author | Peter Zijlstra <[email protected]> | 2016-05-30 18:31:33 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-06-08 14:22:00 +0200 |
commit | dfaaf3fa01d65cf6e2072965bb0b7aaa7285344f (patch) | |
tree | e2b993df8b9fd932668875f3f985beadecd12f9e /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | ed8ebd1d514126c0e54fbdbd231427dc91c877c2 (diff) |
locking/lockdep: Use __jhash_mix() for iterate_chain_key()
Use __jhash_mix() to mix the class_idx into the class_key. This
function provides better mixing than the previously used, home grown
mix function.
Leave hashing to the professionals :-)
Suggested-by: George Spelvin <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions