On 04/23/2014 05:49 PM, Pravin B Shelar wrote:
mask caches index of mask in mask_list. On packet recv OVS
need to traverse mask-list to get cached mask. Therefore array
is better for retrieving cached mask. This also allows better
cache replacement algorithm by directly checking mask's existence.
Signed-off-by: Pravin B Shelar <pshe...@nicira.com>
LGTM
Acked-by: Thomas Graf <tg...@redhat.com>
+ if (old)
+ call_rcu(&old->rcu, mask_array_rcu_cb);
At some point we should simply backport rcupdate.h to make kfree_rcu()
available and get rid of all these wrappers.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev