git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c68f24c
)
loopback: Implement 64bit stats on 32bit arches
author
Eric Dumazet
<eric.dumazet@gmail.com>
Mon, 14 Jun 2010 05:59:22 +0000
(
05:59
+0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 15 Jun 2010 06:13:07 +0000
(23:13 -0700)
Uses a seqcount_t to synchronize stat producer and consumer, for packets
and bytes counter, now u64 types.
(dropped counter being rarely used, stay a native "unsigned long" type)
No noticeable performance impact on x86, as it only adds two increments
per frame. It might be more expensive on arches where smp_wmb() is not
free.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/loopback.c
patch
|
blob
|
history
diff --cc
drivers/net/loopback.c
Simple merge