diff options
author | Frank Rowand <[email protected]> | 2009-11-19 13:42:06 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-12-06 13:20:00 +0100 |
commit | 109d71c6dd52ec08878c2c67eb4c0bd67fcbc80b (patch) | |
tree | 0e531ab9d3327bbc939a13e8e2991150ada9e469 /net/lapb/lapb_iface.c | |
parent | 6ec22f9b037fc0c2e00ddb7023fad279c365324d (diff) |
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 <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions