Peter Zijlstra
96645678cd
lockstat: measure lock bouncing
...
__acquire
|
lock _____
| \
| __contended
| |
| wait
| _______/
|/
|
__acquired
|
__release
|
unlock
We measure acquisition and contention bouncing.
This is done by recording a cpu stamp in each lock instance.
Contention bouncing requires the cpu stamp to be set on acquisition. Hence we
move __acquired into the generic path.
__acquired is then used to measure acquisition bouncing by comparing the
current cpu with the old stamp before replacing it.
__contended is used to measure contention bouncing (only useful for preemptable
locks)
[[email protected] : cleanups]
Signed-off-by: Peter Zijlstra <[email protected] >
Acked-by: Ingo Molnar <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2007-07-19 10:04:49 -07:00
..
2007-07-17 10:23:07 -07:00
2007-07-18 02:21:50 -07:00
2007-07-17 10:23:08 -07:00
2007-07-17 10:23:15 -07:00
2007-07-17 10:23:09 -07:00
2007-07-17 10:23:05 -07:00
2007-07-17 10:23:08 -07:00
2007-07-19 10:04:43 -07:00
2007-07-19 10:04:43 -07:00
2007-07-16 09:05:52 -07:00
2007-07-19 10:04:45 -07:00
2007-07-17 10:23:02 -07:00
2007-07-17 14:18:47 +02:00
2007-07-16 09:05:51 -07:00
2007-07-16 09:05:48 -07:00
2007-07-19 10:04:48 -07:00
2007-07-19 10:04:48 -07:00
2007-07-16 09:05:48 -07:00
2007-07-17 10:23:04 -07:00
2007-07-18 15:49:50 -07:00
2007-07-17 10:23:06 -07:00
2007-07-18 08:47:40 -07:00
2007-07-17 10:23:06 -07:00
2007-07-16 09:05:52 -07:00
2007-07-16 09:05:52 -07:00
2007-07-18 09:02:56 -04:00
2007-07-18 09:15:20 -04:00
2007-07-18 09:15:20 -04:00
2007-07-18 09:19:57 -04:00
2007-07-17 21:42:44 -04:00
2007-07-17 10:23:13 -07:00
2007-07-19 10:04:42 -07:00
2007-07-19 10:04:44 -07:00
2007-07-18 18:29:37 -04:00
2007-07-17 10:22:59 -07:00
2007-07-19 10:04:41 -07:00
2007-07-17 10:22:59 -07:00
2007-07-16 09:05:48 -07:00
2007-07-16 09:05:50 -07:00
2007-07-18 08:57:06 -04:00
2007-07-17 10:23:03 -07:00
2007-07-17 10:23:02 -07:00
2007-07-17 10:23:05 -07:00
2007-07-18 08:47:40 -07:00
2007-07-18 15:49:49 -07:00
2007-07-19 10:04:44 -07:00
2007-07-17 10:23:03 -07:00
2007-07-17 10:23:13 -07:00
2007-07-19 10:04:49 -07:00
2007-07-18 08:47:45 -07:00
2007-07-17 10:22:59 -07:00
2007-07-19 10:04:45 -07:00
2007-07-17 10:22:59 -07:00
2007-07-16 09:05:48 -07:00
2007-07-19 10:04:45 -07:00
2007-07-16 09:05:51 -07:00
2007-07-18 02:10:54 -07:00
2007-07-19 10:04:42 -07:00
2007-07-16 09:05:48 -07:00
2007-07-19 10:04:44 -07:00
2007-07-16 09:05:48 -07:00
2007-07-19 10:04:42 -07:00
2007-07-16 09:05:50 -07:00
2007-07-17 10:23:03 -07:00
2007-07-18 08:47:40 -07:00
2007-07-19 10:04:47 -07:00
2007-07-16 09:05:50 -07:00
2007-07-18 08:38:22 -07:00
2007-07-18 08:38:22 -07:00
2007-07-17 10:23:01 -07:00
2007-07-17 10:23:01 -07:00
2007-07-17 17:26:43 -07:00
2007-07-17 10:23:01 -07:00
2007-07-17 14:39:19 -07:00
2007-07-19 10:04:49 -07:00
2007-07-19 10:04:49 -07:00
2007-07-18 08:47:40 -07:00
2007-07-19 10:04:42 -07:00
2007-07-17 10:22:59 -07:00
2007-07-17 21:42:44 -04:00
2007-07-17 10:23:03 -07:00
2007-07-18 15:57:15 -07:00
2007-07-16 09:05:48 -07:00
2007-07-18 08:47:41 -07:00
2007-07-17 10:22:59 -07:00
2007-07-17 10:23:11 -07:00
2007-07-16 09:05:51 -07:00