X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=Documentation%2Flockdep-design.txt;h=abf768c681e208c3fe5c4d7c5fc27f788c6c29c7;hb=f7fc97adb1efd51609d965ba76d559f7daef4262;hp=938ea22f2cc096f6838a678217e463bf9ec0cd4d;hpb=f510b233cfc7bfd57b6007071c52aa42e3d16b06;p=safe%2Fjmp%2Flinux-2.6 diff --git a/Documentation/lockdep-design.txt b/Documentation/lockdep-design.txt index 938ea22..abf768c 100644 --- a/Documentation/lockdep-design.txt +++ b/Documentation/lockdep-design.txt @@ -30,9 +30,9 @@ State The validator tracks lock-class usage history into 4n + 1 separate state bits: - 'ever held in STATE context' -- 'ever head as readlock in STATE context' -- 'ever head with STATE enabled' -- 'ever head as readlock with STATE enabled' +- 'ever held as readlock in STATE context' +- 'ever held with STATE enabled' +- 'ever held as readlock with STATE enabled' Where STATE can be either one of (kernel/lockdep_states.h) - hardirq @@ -54,9 +54,9 @@ locking error messages, inside curlies. A contrived example: The bit position indicates STATE, STATE-read, for each of the states listed above, and the character displayed in each indicates: - '.' acquired while irqs disabled - '+' acquired in irq context - '-' acquired with irqs enabled + '.' acquired while irqs disabled and not in irq context + '-' acquired in irq context + '+' acquired with irqs enabled '?' acquired in irq context with irqs enabled. Unused mutexes cannot be part of the cause of an error.