Thread (3 messages) flat view 3 messages, 2 authors, 2014-03-10

Re: [PATCH net-next] pkt_sched: add cond_resched() to class and qdisc dump

From: David Miller <davem@davemloft.net>
Date: 2014-03-10 19:32:07

From: Eric Dumazet <redacted>
Date: Fri, 07 Mar 2014 18:01:04 -0800
From: Eric Dumazet <edumazet@google.com>

We have seen delays of more than 50ms in class or qdisc dumps, in case
device is under high TX stress.

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

Signed-off-by: Eric Dumazet <edumazet@google.com>
Is it OK to sleep (or rather: cond_resched()) in an RCU region?
That's what will potentially happen via tc_dump_qdisc() it seems.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help