Skip to content

pkt_sched: allow scheduling points

Eric Dumazet netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pkt_sched: do not use rcu in tc_dump_qdisc()net/sched/sch_api.c+2 -40 replies
2/2pkt_sched: add cond_resched() to class and qdisc dumpnet/sched/sch_api.c+2 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/2] pkt_sched: allow scheduling points

We have seen delays of more than 50ms in class or qdisc dumps, in case device is under high TX stress, even with the prior 4KB per skb limit.

With the new 16KB limit, this could translate to 200ms delays.

Add cond_resched() to give a chance to higher prio tasks to get cpu.

But before doing so, we need to remove the rcu locking from tc_dump_qdisc() as David spotted.

Eric Dumazet (2):
pkt_sched: do not use rcu in tc_dump_qdisc()
pkt_sched: add cond_resched() to class and qdisc dump

 net/sched/sch_api.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
1.9.0.279.gdc9e3eb