pkt_sched: allow scheduling points
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | pkt_sched: do not use rcu in tc_dump_qdisc()net/ | +2 | 0 replies | |
| 2/2 | pkt_sched: add cond_resched() to class and qdisc dumpnet/ | +2 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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