Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 70670
b: refs/heads/master
c: f20fda4
h: refs/heads/master
v: v3
  • Loading branch information
Matti Linnanvuori authored and Linus Torvalds committed Oct 17, 2007
1 parent 2f685d2 commit df27990
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1019f96d2d3aa4997d8055bd0c32c97f0fc21d06
refs/heads/master: f20fda486164264e0c9a64f3256b3238d0dc78d7
3 changes: 2 additions & 1 deletion trunk/Documentation/mutex-design.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ of advantages of mutexes:
* - task may not exit with mutex held
* - memory areas where held locks reside must not be freed
* - held mutexes must not be reinitialized
* - mutexes may not be used in irq contexts
* - mutexes may not be used in hardware or software interrupt
* contexts such as tasklets and timers

furthermore, there are also convenience features in the debugging
code:
Expand Down
3 changes: 2 additions & 1 deletion trunk/include/linux/mutex.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
* - task may not exit with mutex held
* - memory areas where held locks reside must not be freed
* - held mutexes must not be reinitialized
* - mutexes may not be used in irq contexts
* - mutexes may not be used in hardware or software interrupt
* contexts such as tasklets and timers
*
* These semantics are fully enforced when DEBUG_MUTEXES is
* enabled. Furthermore, besides enforcing the above rules, the mutex
Expand Down

0 comments on commit df27990

Please sign in to comment.