[ovs-dev] [PATCH 03/19] datapath: Convert patch vport to use call_rcu() on destruction.

Ben Pfaff blp at nicira.com
Thu Dec 9 17:39:28 UTC 2010


On Wed, Dec 08, 2010 at 10:14:01PM -0800, Jesse Gross wrote:
> Since patch ports are virtual devices, we can potentially have many
> of them in a datapath.  Currently we have a call to synchronize_rcu()
> each time we destroy one, which can be expensive if we are deleting a
> datapath with many ports.  This converts it to use call_rcu() instead,
> which allows us to wait for only a single RCU grace period independent
> of the number of ports.
> 
> Signed-off-by: Jesse Gross <jesse at nicira.com>

Acked-by: Ben Pfaff <blp at nicira.com>




More information about the dev mailing list