Merge branch 'pkt_sched_cond_resched'
authorDavid S. Miller <davem@davemloft.net>
Wed, 12 Mar 2014 03:54:56 +0000 (23:54 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Mar 2014 03:54:56 +0000 (23:54 -0400)
Eric Dumazet says:

====================
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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge