aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2012-05-12 21:23:23 +0000
committerDavid S. Miller <[email protected]>2012-05-14 18:32:56 -0400
commit6ff272c9ad65eda219cd975b9da2dbc31cc812ee (patch)
tree93236fdb1d8f23afe44fc4b7366c1997787cb8cf /tools/perf/scripts/python
parent748336087374ca7e5369f310745fa1d3b4a8cbf7 (diff)
codel: use u16 field instead of 31bits for rec_inv_sqrt
David pointed out gcc might generate poor code with 31bit fields. Using u16 is more than enough and permits a better code output. Also make the code intent more readable using constants, fixed point arithmetic not being trivial for everybody. Suggested-by: David Miller <[email protected]> Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions