[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100104.124711.50820580.davem@davemloft.net>
Date: Mon, 04 Jan 2010 12:47:11 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: shemminger@...tta.com
Cc: guenter.roeck@...csson.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [RFC] [PATCH] Improve hash function used for full_name_hash()
From: Stephen Hemminger <shemminger@...tta.com>
Date: Mon, 4 Jan 2010 12:29:12 -0800
> On Mon, 04 Jan 2010 12:09:44 -0800
> Guenter Roeck <guenter.roeck@...csson.com> wrote:
>
>> For example, when hashing "eth0" .. "eth9999" with a hash table size of 256,
>> the resulting minimum hash bucket depth is 0, the maximum depth is 563,
>> and the standard deviation is ~136.
>
> The problem was a missing call to hash_32() on the result, and is
> already fixed in current kernel.
Added linux-kernel CC: to followup...
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists