lkml.org 
[lkml]   [2009]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] net: fold network name hash
Date
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


\
 
 \ /
  Last update: 2009-10-27 19:07    [from the cache]
©2003-2011 Jasper Spaans