Re: [ovs-dev] [PATCH v5 2/7] dpif-netdev: Group statistics updates in the slow path.

2015-04-02 Thread Ethan Jackson
Acked-by: Ethan Jackson On Wed, Apr 1, 2015 at 9:20 AM, Daniele Di Proietto wrote: > Since statistics updates might require locking (in future commits) > grouping them will reduce the locking overhead. > > Signed-off-by: Daniele Di Proietto > --- > lib/dpif-netdev.c | 11 ++- > 1 file

[ovs-dev] [PATCH v5 2/7] dpif-netdev: Group statistics updates in the slow path.

2015-04-01 Thread Daniele Di Proietto
Since statistics updates might require locking (in future commits) grouping them will reduce the locking overhead. Signed-off-by: Daniele Di Proietto --- lib/dpif-netdev.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index