aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2016-05-30 18:31:33 +0200
committerIngo Molnar <[email protected]>2016-06-08 14:22:00 +0200
commitdfaaf3fa01d65cf6e2072965bb0b7aaa7285344f (patch)
treee2b993df8b9fd932668875f3f985beadecd12f9e /scripts/gcc-plugins/randomize_layout_plugin.c
parented8ebd1d514126c0e54fbdbd231427dc91c877c2 (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