Eric Dumazet c26aed40f4 filter: use reciprocal divide
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@gmail.com>
Acked-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-11-19 10:06:54 -08:00
..
2010-11-15 20:15:03 -08:00
2010-10-27 11:37:32 -07:00
2010-11-19 10:06:54 -08:00
2010-09-23 14:33:39 -07:00
2010-07-12 12:57:55 -07:00
2010-07-12 12:57:55 -07:00
2010-10-25 14:18:27 -07:00
2010-07-12 12:57:55 -07:00
2010-11-18 10:43:07 -08:00
2010-11-17 11:28:24 -08:00
2010-07-12 12:57:55 -07:00
2010-11-10 12:12:00 -08:00
2010-10-25 14:18:27 -07:00
2010-11-19 09:49:59 -08:00
2010-09-23 14:33:39 -07:00