Re: [PATCH 1/4] ipc/sem.c: Fix missing wakeups in do_smart_update_queue()

From: Manfred Spraul
Date: Mon May 27 2013 - 15:54:08 EST


Hi Rik,

On 05/27/2013 07:51 PM, Rik van Riel wrote:

Very much not optimized, but we need to fix the regression.

Acked-by: Rik van Riel <riel@xxxxxxxxxx>

Thanks for the review.

I was afraid that the differences would be noticeable but they aren't:
At least on my laptop, the differences between the patches are within the noise:

# ./cat /proc/stat | grep ctxt;./osim 2 2 1000000 0 0;cat /proc/stat | grep ctxt
runtime: stock patch 1 patch 1-4
2,0088875 2,041084 1,997367

# ./cat /proc/stat | grep ctxt;./osim 2 20 1000000 0 0;cat /proc/stat | grep ctxt
4,32541 4,295956 4,277817

(assuming 2 cpus, otherwise increase "2" and "20" accordingly)

Here is the link to the tool:
http://marc.info/?l=linux-kernel&m=125038376609750

--
Manfred

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/