diff options
author | Sathya Perla <sathyap@serverengines.com> | 2009-03-24 16:40:13 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-24 16:40:13 -0700 |
commit | 4097f663cbe9e58de7ebed222f8af33267f297a8 (patch) | |
tree | 9cc5c70cba6e95405dbc1ae11a1bd79f96ee110c /mm/mempool.c | |
parent | 38938bfe3489394e2eed5e40c9bb8f66a2ce1405 (diff) |
be2net: cleanup rx/tx rate calculations
Hi, Pls accept this patch to cleanup rx/tx rate calculations as follows:
- check for jiffies wraparound
- remove typecast of a denominator
- do rate calculation only in workqueue context periodically
Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/mempool.c')
0 files changed, 0 insertions, 0 deletions