1
0
Files
linux/net
Eric Dumazet 789675e216 [NET]: Avoid divides in net/core/gen_estimator.c
We can void divides (as seen with CONFIG_CC_OPTIMIZE_FOR_SIZE=y on x86)
changing ((HZ<<idx)/4) to ((HZ/4) << idx)

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-01-28 15:00:35 -08:00
..
2008-01-28 15:00:14 -08:00
2007-12-20 14:03:11 -08:00
2008-01-28 14:54:10 -08:00
2008-01-28 14:56:29 -08:00