[ovs-dev] [netlink 03/16] datapath: Merge "struct dp_port" into "struct vport".

Ben Pfaff blp at nicira.com
Fri Nov 5 17:52:53 UTC 2010

On Thu, Nov 04, 2010 at 05:28:36PM -0700, Jesse Gross wrote:
> Actually what we should do it use the lockdep annotations available in
> new kernels to check that we really have RCU read lock or RTNL where
> we think we do.

I see how to mark a function as acquiring or releasing a lock, and how
to mark an object as protected by RCU.  But how do I annotate a function
as requiring RCU or RTNL?  (I'm not sure whether you mean an annotation
for sparse or lockdep; many of the new annotations seem to be for

More information about the dev mailing list