summaryrefslogtreecommitdiffstats
path: root/net/nonet.c
diff options
context:
space:
mode:
authorEric Dumazet2008-01-04 05:40:01 +0100
committerDavid S. Miller2008-01-29 00:00:35 +0100
commit789675e216617b1331875c42a81f58227a06df91 (patch)
treebec5c846982ef2ebe5e6970242be146531add9b1 /net/nonet.c
parent[TCP]: Perform setting of common control fields in one place (diff)
downloadkernel-qcow2-linux-789675e216617b1331875c42a81f58227a06df91.tar.gz
kernel-qcow2-linux-789675e216617b1331875c42a81f58227a06df91.tar.xz
kernel-qcow2-linux-789675e216617b1331875c42a81f58227a06df91.zip
[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>
Diffstat (limited to 'net/nonet.c')
0 files changed, 0 insertions, 0 deletions