summaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-rlock.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-10-28 03:24:46 +0100
committerJames Morris <jmorris@namei.org>2009-10-29 01:17:33 +0100
commit024e1a49411a1a7363e65db48edf1b09e9ee68ad (patch)
tree628fb392d0230f2e46753c04dded209ef27124d1 /lib/locking-selftest-rlock.h
parenttpm add default function definitions (diff)
downloadlinux-024e1a49411a1a7363e65db48edf1b09e9ee68ad.tar.xz
linux-024e1a49411a1a7363e65db48edf1b09e9ee68ad.zip
tomoyo: improve hash bucket dispersion
When examining the network device name hash, it was discovered that the low order bits of full_name_hash() are not very well dispersed across the possible values. When used by filesystem code, this is handled by folding with the function hash_long(). The only other non-filesystem usage of full_name_hash() at this time appears to be in TOMOYO. This patch should fix that. I do not use TOMOYO at this time, so this patch is build tested only. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Acked-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'lib/locking-selftest-rlock.h')
0 files changed, 0 insertions, 0 deletions