[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200910272002.25384.opurdila@ixiacom.com>
Date: Tue, 27 Oct 2009 20:02:25 +0200
From: Octavian Purdila <opurdila@...acom.com>
To: Stephen Hemminger <shemminger@...tta.com>
Cc: David Miller <davem@...emloft.net>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, eric.dumazet@...il.com,
akpm@...ux-foundation.org, torvalds@...ux-foundation.org,
viro@...iv.linux.org.uk
Subject: Re: [PATCH] net: fold network name hash
On Tuesday 27 October 2009 19:22:51 you wrote:
> The full_name_hash does not produce a value that is evenly distributed
> over the lower 8 bits. This causes name hash to be unbalanced with large
> number of names. A simple fix is to just fold in the higher bits
> with XOR.
>
> This is independent of possible improvements to full_name_hash()
> in future.
>
I can confirm that the distribution looks good now for our most common cases.
Thanks,
tavi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists