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: Eric Dumazet <hidden>
Date: 2014-03-10 20:12:26

On Mon, 2014-03-10 at 15:32 -0400, David Miller wrote:
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.
Hmpf, you are right I forgot this.

RTNL protects us in tc_dump_qdisc().

I need to remove this useless rcu protection.

Thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help