Re: [ovs-dev] [PATCH 2/2] ofproto-dpif: Use adaptive mutex for stats.

2014-02-13 Thread Jarno Rajahalme
On Feb 13, 2014, at 8:31 AM, Ben Pfaff wrote: > On Wed, Feb 12, 2014 at 02:01:42PM -0800, Jarno Rajahalme wrote: >> Stats critical sections are held for very short time, so it makes >> sense to spin on them for a while rather than sleeping immediately. >> >> Signed-off-by: Jarno Rajahalme > >

Re: [ovs-dev] [PATCH 2/2] ofproto-dpif: Use adaptive mutex for stats.

2014-02-13 Thread Ben Pfaff
On Wed, Feb 12, 2014 at 02:01:42PM -0800, Jarno Rajahalme wrote: > Stats critical sections are held for very short time, so it makes > sense to spin on them for a while rather than sleeping immediately. > > Signed-off-by: Jarno Rajahalme Acked-by: Ben Pfaff _

[ovs-dev] [PATCH 2/2] ofproto-dpif: Use adaptive mutex for stats.

2014-02-12 Thread Jarno Rajahalme
Stats critical sections are held for very short time, so it makes sense to spin on them for a while rather than sleeping immediately. Signed-off-by: Jarno Rajahalme --- ofproto/ofproto-dpif.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ofproto/ofproto-dpif.c b/of