From: David S. Miller Date: Tue, 7 Jun 2016 23:37:14 +0000 (-0700) Subject: Merge branch 'net-sched-fast-stats' X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=34fe76abbea5174e532681e420fb31139909efb4;p=linux-beck.git 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 --- 34fe76abbea5174e532681e420fb31139909efb4