From: Frank Rowand Date: Thu, 19 Nov 2009 21:42:06 +0000 (-0800) Subject: lockstat: Fix min, max times in /proc/lock_stats X-Git-Tag: v2.6.33-rc1~303^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=109d71c6dd52ec08878c2c67eb4c0bd67fcbc80b;p=pandora-kernel.git lockstat: Fix min, max times in /proc/lock_stats 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 Signed-off-by: Peter Zijlstra LKML-Reference: <4B05BBAE.2050005@am.sony.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed