From: Stephen Hemminger Date: Wed, 28 Oct 2009 02:24:46 +0000 (-0700) Subject: tomoyo: improve hash bucket dispersion X-Git-Tag: v2.6.33-rc1~411^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=024e1a49411a1a7363e65db48edf1b09e9ee68ad;p=pandora-kernel.git 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 Acked-by: Tetsuo Handa Signed-off-by: James Morris --- Reading git-diff-tree failed