diff options
Diffstat (limited to 'Documentation/lockdep-design.txt')
-rw-r--r-- | Documentation/lockdep-design.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/lockdep-design.txt b/Documentation/lockdep-design.txt index 7f2bb8e342fa..2a76a4af598c 100644 --- a/Documentation/lockdep-design.txt +++ b/Documentation/lockdep-design.txt | |||
@@ -133,7 +133,7 @@ cases there is an inherent "natural" ordering between the two objects | |||
133 | (defined by the properties of the hierarchy), and the kernel grabs the | 133 | (defined by the properties of the hierarchy), and the kernel grabs the |
134 | locks in this fixed order on each of the objects. | 134 | locks in this fixed order on each of the objects. |
135 | 135 | ||
136 | An example of such an object hieararchy that results in "nested locking" | 136 | An example of such an object hierarchy that results in "nested locking" |
137 | is that of a "whole disk" block-dev object and a "partition" block-dev | 137 | is that of a "whole disk" block-dev object and a "partition" block-dev |
138 | object; the partition is "part of" the whole device and as long as one | 138 | object; the partition is "part of" the whole device and as long as one |
139 | always takes the whole disk lock as a higher lock than the partition | 139 | always takes the whole disk lock as a higher lock than the partition |
@@ -162,7 +162,7 @@ The validator treats a lock that is taken in such a nested fashion as a | |||
162 | separate (sub)class for the purposes of validation. | 162 | separate (sub)class for the purposes of validation. |
163 | 163 | ||
164 | Note: When changing code to use the _nested() primitives, be careful and | 164 | Note: When changing code to use the _nested() primitives, be careful and |
165 | check really thoroughly that the hiearchy is correctly mapped; otherwise | 165 | check really thoroughly that the hierarchy is correctly mapped; otherwise |
166 | you can get false positives or false negatives. | 166 | you can get false positives or false negatives. |
167 | 167 | ||
168 | Proof of 100% correctness: | 168 | Proof of 100% correctness: |