git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e870a8e
)
[NET]: Avoid divides in net/core/gen_estimator.c
author
Eric Dumazet
<dada1@cosmosbay.com>
Fri, 4 Jan 2008 04:40:01 +0000
(20:40 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jan 2008 23:00:35 +0000
(15:00 -0800)
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>
net/core/gen_estimator.c
patch
|
blob
|
history
diff --cc
net/core/gen_estimator.c
Simple merge