diff options
author | 2016-12-02 08:11:00 -0800 | |
---|---|---|
committer | 2016-12-03 16:12:17 -0500 | |
commit | 12efa1fa43968fcb707e806dc119df499c17ac2c (patch) | |
tree | 1af0100515470e6aa6a942f0d13ff51529efbc81 /drivers/net/wireless/admtek/adm8211.c | |
parent | sfc: remove EFX_BUG_ON_PARANOID, use EFX_WARN_ON_[ONCE_]PARANOID instead (diff) | |
download | wireguard-linux-12efa1fa43968fcb707e806dc119df499c17ac2c.tar.xz wireguard-linux-12efa1fa43968fcb707e806dc119df499c17ac2c.zip |
net_sched: gen_estimator: account for timer drifts
Under heavy stress, timer used in estimators tend to slowly be delayed
by a few jiffies, leading to inaccuracies.
Lets remember what was the last scheduled jiffies so that we get more
precise estimations, without having to add a multiply/divide in the loop
to account for the drifts.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/admtek/adm8211.c')
0 files changed, 0 insertions, 0 deletions