diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-11 16:03:11 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-11 16:03:11 -0500 |
| commit | 73b4f63aebd6d57db4ca1d31fa6f8516651207b0 (patch) | |
| tree | 49adf7fb3b8f45d040f7e633ba34040541279c28 /Documentation/locking | |
| parent | bfe9183fdcc0575a648d1401facc649888a1f49a (diff) | |
| parent | 52e68924dfa8d9de5d82f6798352eecc5f03a97d (diff) | |
Merge tag 'docs-for-linus' of git://git.lwn.net/linux-2.6
Pull documentation updates from Jonathan Corbet:
"Highlights this time around include:
- A thrashing of SubmittingPatches to bring it out of the "send
everything to Linus" era of kernel development.
- A new document on completions from Nicholas McGuire
- Lots of typo fixes, formatting improvements, corrections, build
fixes, and more"
* tag 'docs-for-linus' of git://git.lwn.net/linux-2.6: (35 commits)
Documentation: Fix the wrong command `echo -1 > set_ftrace_pid` for cleaning the filter.
can-doc: Fixed a wrong filepath in can.txt
Documentation: Fix trivial typo in comment.
kgdb,docs: Fix typo and minor style issues
Documentation: add description for FTRACE probe status
doc: brief user documentation for completion
Documentation/misc-devices/mei: Fix indentation of embedded code.
Documentation/misc-devices/mei: Fix indentation of enumeration.
Documentation/misc-devices/mei: Fix spacing around parentheses.
Documentation/misc-devices/mei: Fix formatting of headings.
Documentation: devicetree: Fix double words in Doumentation/devicetree
Documentation: mm: Fix typo in vm.txt
lockstat: Add documentation on contention and contenting points
Documentation: fix blackfin gptimers-example build errors
Fixes column alignment in table of contents entry 1.9 in Documentation/filesystems/proc.txt
CodingStyle: enable emacs display of trailing whitespace
DocBook: Do not exceed argument list limit
gpio: board.txt: Fix the gpio name example
Documentation/SubmittingPatches: unify whitespace/tabs for the DCO
MAINTAINERS: Add the docs-next git tree to the maintainer entry
...
Diffstat (limited to 'Documentation/locking')
| -rw-r--r-- | Documentation/locking/00-INDEX | 16 | ||||
| -rw-r--r-- | Documentation/locking/lockstat.txt | 5 |
2 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/locking/00-INDEX b/Documentation/locking/00-INDEX new file mode 100644 index 000000000000..c256c9bee2a4 --- /dev/null +++ b/Documentation/locking/00-INDEX | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | 00-INDEX | ||
| 2 | - this file. | ||
| 3 | lockdep-design.txt | ||
| 4 | - documentation on the runtime locking correctness validator. | ||
| 5 | lockstat.txt | ||
| 6 | - info on collecting statistics on locks (and contention). | ||
| 7 | mutex-design.txt | ||
| 8 | - info on the generic mutex subsystem. | ||
| 9 | rt-mutex-design.txt | ||
| 10 | - description of the RealTime mutex implementation design. | ||
| 11 | rt-mutex.txt | ||
| 12 | - desc. of RT-mutex subsystem with PI (Priority Inheritance) support. | ||
| 13 | spinlocks.txt | ||
| 14 | - info on using spinlocks to provide exclusive access in kernel. | ||
| 15 | ww-mutex-design.txt | ||
| 16 | - Intro to Mutex wait/would deadlock handling.s | ||
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 |
