diff options
| author | Leslie Monis <lesliemonis@gmail.com> | 2019-02-28 15:36:54 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-02-28 21:35:41 +0300 |
| commit | 6c97da141528097eb8e1d532dc0dbe3501f4c8ff (patch) | |
| tree | 10f032522179046ddde875c3a57963f8cd2581ca /scripts/gdb/linux/proc.py | |
| parent | 4a8acef78e170854ce6865e216eff82bda92437d (diff) | |
| download | linux-6c97da141528097eb8e1d532dc0dbe3501f4c8ff.tar.xz | |
net: sched: pie: avoid slow division in drop probability decay
As per RFC 8033, it is sufficient for the drop probability
decay factor to have a value of (1 - 1/64) instead of 98%.
This avoids the need to do slow division.
Suggested-by: David Laight <David.Laight@aculab.com>
Signed-off-by: Leslie Monis <lesliemonis@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions
