Re: [PATCH] LOCKSTAT: patch test - Fix min, max times in/proc/lock_stats

From: Peter Zijlstra
Date: Thu Nov 19 2009 - 17:30:08 EST


On Thu, 2009-11-19 at 13:42 -0800, Frank Rowand wrote:
> Fix min, max times in /proc/lock_stats
>
> (1) When collecting lock hold and wait times, if the current minimum time is
> zero, it will be replaced by the next time.
>
> (2) When aggregating minimum and maximum lock hold and wait times accross cpus,
> the values are added, instead of selecting the minimum and maximum.
>
>
> Signed-off-by: Frank Rowand <frank.rowand@xxxxxxxxxxx>

Thanks Frank, took both patches.

--
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/