From: David S. Miller Date: Wed, 15 Jun 2016 21:08:36 +0000 (-0700) Subject: Merge branch 'sched_skb_free_defer' X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=88da48f4977a4b31e03cac1b6ea38f24d7916d10;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git Merge branch 'sched_skb_free_defer' Eric Dumazet says: ==================== net_sched: defer skb freeing while changing qdiscs qdiscs/classes are changed under RTNL protection and often while blocking BH and root qdisc spinlock. When lots of skbs need to be dropped, we free them under these locks causing TX/RX freezes, and more generally latency spikes. I saw spikes of 50+ ms on quite fast hardware... This patch series adds a simple queue protected by RTNL where skbs can be placed until RTNL is released. Note that this might also serve in the future for optional reinjection of packets when a qdisc is replaced. ==================== Signed-off-by: David S. Miller --- 88da48f4977a4b31e03cac1b6ea38f24d7916d10