aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/fou.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2016-06-07 16:37:14 -0700
committerDavid S. Miller <davem@davemloft.net>2016-06-07 16:37:14 -0700
commit34fe76abbea5174e532681e420fb31139909efb4 (patch)
tree1f241506d6b781b65d1033925f1c1ce6a39c3394 /net/ipv4/fou.c
parentMerge branch 'be2net-noncrit-fixes' (diff)
parentnet: sched: do not acquire qdisc spinlock in qdisc/class stats dump (diff)
downloadlinux-dev-34fe76abbea5174e532681e420fb31139909efb4.tar.xz
linux-dev-34fe76abbea5174e532681e420fb31139909efb4.zip
Merge branch 'net-sched-fast-stats'
Eric Dumazet says: ==================== net: sched: faster stats gathering A while back, I sent one RFC patch using lockless stats gathering on 64bit arches. This patch series does it more cleanly, using a seqcount. Since qdisc/class stats are written at dequeue() time, we can ask the dequeue to change the seqcount, so that stats readers can avoid taking the root qdisc lock, and instead the typical read_seqcount_{begin|retry} guarded loop. This does not change fast path costs, as the seqcount increments are not more expensive than the bit manipulation, and allows readers to not freeze the fast path anymore. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fou.c')
0 files changed, 0 insertions, 0 deletions