diff options
author | Cong Wang <[email protected]> | 2020-05-26 21:35:27 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-05-27 15:05:49 -0700 |
commit | 759ae57f1b7bf5dfea1816f786f568d69efe34e2 (patch) | |
tree | 05d0ac479515a9cf925dcefa78718641e8165d5b /tools/perf/scripts/python/sctop.py | |
parent | 70f50965338a12e17454c31ad5ece27069719358 (diff) |
net_sched: get rid of unnecessary dev_qdisc_reset()
Resetting old qdisc on dev_queue->qdisc_sleeping in
dev_qdisc_reset() is redundant, because this qdisc,
even if not same with dev_queue->qdisc, is reset via
qdisc_put() right after calling dev_graft_qdisc() when
hitting refcnt 0.
This is very easy to observe with qdisc_reset() tracepoint
and stack traces.
Reported-by: Václav Zindulka <[email protected]>
Tested-by: Václav Zindulka <[email protected]>
Cc: Jamal Hadi Salim <[email protected]>
Cc: Jiri Pirko <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions