All of lore.kernel.org
 help / color / mirror / Atom feed
* Any good documentation on RTNL
@ 2012-12-12 23:15 Ben Greear
  2012-12-12 23:37 ` Ben Hutchings
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Greear @ 2012-12-12 23:15 UTC (permalink / raw)
  To: netdev

I'm wondering if anyone could point me to some documentation on
the finer points of what the rtnl_lock() does?  I can't find anything
overly useful in google or the kernel docs.

For instance, can the packet rx-logic run (on other threads?) while rtnl is held?

How about tx-logic?

In particular, I'm interested to know if it is valid to have
this state:

thread 1 holds RTNL, and blocks on thread 2 due to trying to flush a work-queue.

thread 2 is processing an item on that work-queue, and the work item is sending packets
   (and blocking for up to 200ms timeout trying to flush a wifi driver's queues).

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-12 23:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-12 23:15 Any good documentation on RTNL Ben Greear
2012-12-12 23:37 ` Ben Hutchings

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.