diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2015-01-13 09:59:30 -0500 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2015-01-28 17:13:10 -0500 |
commit | 7b7e1b7b7f6f16862ba5bfe79f024139e61b6623 (patch) | |
tree | dbff992ffd9e52b69550d5885b8122415cabc098 /Documentation/locking | |
parent | e72a65292126fc87f53b6245ce51ff4d49dc914a (diff) |
lockstat: Add documentation on contention and contenting points
Signed-off-by: Daniel Wagner <daniel.wagner@bmw-carit.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/locking')
-rw-r--r-- | Documentation/locking/lockstat.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/locking/lockstat.txt b/Documentation/locking/lockstat.txt index 7428773a1e69..568bbbacee91 100644 --- a/Documentation/locking/lockstat.txt +++ b/Documentation/locking/lockstat.txt | |||
@@ -121,6 +121,11 @@ show the header with column descriptions. Lines 05-18 and 20-31 show the actual | |||
121 | statistics. These statistics come in two parts; the actual stats separated by a | 121 | statistics. These statistics come in two parts; the actual stats separated by a |
122 | short separator (line 08, 13) from the contention points. | 122 | short separator (line 08, 13) from the contention points. |
123 | 123 | ||
124 | Lines 09-12 show the first 4 recorded contention points (the code | ||
125 | which tries to get the lock) and lines 14-17 show the first 4 recorded | ||
126 | contended points (the lock holder). It is possible that the max | ||
127 | con-bounces point is missing in the statistics. | ||
128 | |||
124 | The first lock (05-18) is a read/write lock, and shows two lines above the | 129 | The first lock (05-18) is a read/write lock, and shows two lines above the |
125 | short separator. The contention points don't match the column descriptors, | 130 | short separator. The contention points don't match the column descriptors, |
126 | they have two: contentions and [<IP>] symbol. The second set of contention | 131 | they have two: contentions and [<IP>] symbol. The second set of contention |