Subject: Re: [PATCH] improvement on net/sched/cls_fw.c's hash function

From: Wang Jian <[email-masked]>
Date: Tue, 05 Apr 2005 14:05:56 +0800

Hi David S. Miller,

New patch attached. Hashsize is 256, the same as old one.

On Mon, 4 Apr 2005 22:37:44 -0700, "David S. Miller" <[email-masked]> wrote:

> On Tue, 05 Apr 2005 13:35:02 +0800
> Wang Jian <[email-masked]> wrote:
> 
> > https://lists.netfilter.org/pipermail/netfilter-devel/2005-March/018762.html
> > 
> > I chose 509 for FW_FILTER_HSIZE. If you feel it is waste of memory, then
> > 251 is good too.
> 
> Please us a power of two, the "%" is expensive on some cpus.

-- 
  lark