net_sched: fq_codel: cache skb->truesize into skb->cb
authorEric Dumazet <edumazet@google.com>
Wed, 22 Jun 2016 06:16:50 +0000 (23:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 Jun 2016 16:19:35 +0000 (12:19 -0400)
commit008830bc321c0fc22c0db8d5b0b56f854ed90a5c
tree99d4bfa6d32a42e48b598223a5443eb3443ca532
parent520ac30f45519b0a82dd92117c181d1d6144677b
net_sched: fq_codel: cache skb->truesize into skb->cb

Now we defer skb drops, it makes sense to keep a copy
of skb->truesize in struct codel_skb_cb to avoid one
cache line miss per dropped skb in fq_codel_drop(),
to reduce latencies a bit further.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/codel_qdisc.h
net/sched/sch_fq_codel.c