summaryrefslogtreecommitdiffstats
path: root/fs/proc/inode.c
diff options
context:
space:
mode:
authorJiri Pirko2017-11-03 11:46:25 +0100
committerDavid S. Miller2017-11-03 13:57:24 +0100
commit46209401f8f6116bd0b2c2d14a63958e83ffca0b (patch)
tree54915d3a3f2af715f1681da274e3a98f6198e71b /fs/proc/inode.c
parentnet: sched: introduce chain_head_change callback (diff)
downloadkernel-qcow2-linux-46209401f8f6116bd0b2c2d14a63958e83ffca0b.tar.gz
kernel-qcow2-linux-46209401f8f6116bd0b2c2d14a63958e83ffca0b.tar.xz
kernel-qcow2-linux-46209401f8f6116bd0b2c2d14a63958e83ffca0b.zip
net: core: introduce mini_Qdisc and eliminate usage of tp->q for clsact fastpath
In sch_handle_egress and sch_handle_ingress tp->q is used only in order to update stats. So stats and filter list are the only things that are needed in clsact qdisc fastpath processing. Introduce new mini_Qdisc struct to hold those items. Also, introduce a helper to swap the mini_Qdisc structures in case filter list head changes. This removes need for tp->q usage without added overhead. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/proc/inode.c')
0 files changed, 0 insertions, 0 deletions