[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101119.100726.48508760.davem@davemloft.net>
Date: Fri, 19 Nov 2010 10:07:26 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: xiaosuo@...il.com
Cc: eric.dumazet@...il.com, hagen@...u.net, netdev@...r.kernel.org
Subject: Re: [PATCH net-next-2.6] filter: use reciprocal divide
From: Changli Gao <xiaosuo@...il.com>
Date: Fri, 19 Nov 2010 16:18:05 +0800
> On Fri, Nov 19, 2010 at 4:04 PM, Eric Dumazet <eric.dumazet@...il.com> wrote:
>> At compile time, we can replace the DIV_K instruction (divide by a
>> constant value) by a reciprocal divide.
>>
>> At exec time, the expensive divide is replaced by a multiply, a less
>> expensive operation on most processors.
>>
>> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
>
> Acked-by: Changli Gao <xiaosuo@...il.com>
Applied.
--
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