commit | fba373d2bb267eaeba85579dd04b91435df8c83b | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Mon Mar 10 17:11:43 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 11 23:54:23 2014 -0400 |
tree | 64becbfd442aed1f89f4058609eaa042c8e6f417 | |
parent | 15dc36ebbbea7da35fff2c51b620c8333fc87528 [diff] |
pkt_sched: add cond_resched() to class and qdisc dump 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. Add cond_resched() to give a chance to higher prio tasks to get cpu. Signed-off-by; Eric Dumazet <edumazet@google.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>