Messages in this thread | | | Date | Mon, 27 May 2013 21:53:43 +0200 | From | Manfred Spraul <> | Subject | Re: [PATCH 1/4] ipc/sem.c: Fix missing wakeups in do_smart_update_queue() |
| |
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@redhat.com>
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
| |