Loading Documentation/mutex-design.txt +2 −1 Original line number Diff line number Diff line Loading @@ -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: Loading include/linux/mutex.h +2 −1 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
Documentation/mutex-design.txt +2 −1 Original line number Diff line number Diff line Loading @@ -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: Loading
include/linux/mutex.h +2 −1 Original line number Diff line number Diff line Loading @@ -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 Loading