aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorJason Wang <[email protected]>2017-02-17 11:33:09 +0800
committerDavid S. Miller <[email protected]>2017-02-19 18:15:23 -0500
commit61845d2072150e896f2f18f1d879956e453ee8fd (patch)
tree70f3c92a8839438416ca67eb93f9760aa6ade34a /lib/string_helpers.c
parentf5a57723371f11ff953c4ba71184dc00e65469fc (diff)
virtio-net: batch stats updating
We already have counters for sent/recv packets and sent/recv bytes. Doing a batched update to reduce the number of u64_stats_update_begin/end(). Take care not to bother with stats update when called speculatively. Cc: Willem de Bruijn <[email protected]> Signed-off-by: Jason Wang <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions