Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 78670
b: refs/heads/master
c: 789675e
h: refs/heads/master
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Jan 28, 2008
1 parent e150218 commit 7ad280b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e870a8efcddaaa3da7e180b6ae21239fb96aa2bb
refs/heads/master: 789675e216617b1331875c42a81f58227a06df91
4 changes: 2 additions & 2 deletions trunk/net/core/gen_estimator.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ static void est_timer(unsigned long arg)
}

if (!list_empty(&elist[idx].list))
mod_timer(&elist[idx].timer, jiffies + ((HZ<<idx)/4));
mod_timer(&elist[idx].timer, jiffies + ((HZ/4) << idx));
rcu_read_unlock();
}

Expand Down Expand Up @@ -191,7 +191,7 @@ int gen_new_estimator(struct gnet_stats_basic *bstats,
}

if (list_empty(&elist[idx].list))
mod_timer(&elist[idx].timer, jiffies + ((HZ<<idx)/4));
mod_timer(&elist[idx].timer, jiffies + ((HZ/4) << idx));

list_add_rcu(&est->list, &elist[idx].list);
return 0;
Expand Down

0 comments on commit 7ad280b

Please sign in to comment.