[ovs-dev] [PATCH] ofproto-dpif-xlate: Implement RCU locking in ofproto-dpif-xlate.
alexw at nicira.com
Fri May 9 16:59:23 UTC 2014
I think this one is up-to-date. I'm reviewing it.
Your comments make sense. I think Ryan will adjust it.
Also, I'd also like you or Ethan to review it.
On Fri, May 9, 2014 at 8:29 AM, Ben Pfaff <blp at nicira.com> wrote:
> Is this still up-to-date? I know that we've had a lot of discussion and
> a couple of patch versions related to netdevs this week.
> More below.
> On Tue, May 06, 2014 at 09:54:12AM -0700, Ryan Wilson wrote:
> > Before, a global read-write lock protected the ofproto-dpif /
> > interface. Handler and revalidator threads had to wait while
> configuration was
> > being changed. This patch implements RCU locking which allows handlers
> > revalidators to operate while configuration is being updated.
> > This patch also frees netdev with ovsrcu_postpone. This is because if RCU
> > reader threads take a ref to the netdev, the netdev cannot be deleted and
> > re-created with different types.
> I have to say that I don't understand the previous paragraph of the
> commit message. Maybe you could spell it out more precisely? Also, the
> netdev portion of the commit seems to have little to do with the rest,
> so I'd be inclined to make it a separate preparatory commit.
> dev mailing list
> dev at openvswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dev