diff options
author | Matti Linnanvuori | 2007-10-17 08:29:41 +0200 |
---|---|---|
committer | Linus Torvalds | 2007-10-17 17:42:57 +0200 |
commit | f20fda486164264e0c9a64f3256b3238d0dc78d7 (patch) | |
tree | 4daca9e4a4bee1a3776c965b8b47c64f14420b3b /include/linux/mutex.h | |
parent | Spelling fix: weired -> weird (diff) | |
download | kernel-qcow2-linux-f20fda486164264e0c9a64f3256b3238d0dc78d7.tar.gz kernel-qcow2-linux-f20fda486164264e0c9a64f3256b3238d0dc78d7.tar.xz kernel-qcow2-linux-f20fda486164264e0c9a64f3256b3238d0dc78d7.zip |
Mutex documentation is unclear about software interrupts, tasklets and timers
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/mutex.h')
-rw-r--r-- | include/linux/mutex.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mutex.h b/include/linux/mutex.h index 6a735c72f23f..601479772b98 100644 --- a/include/linux/mutex.h +++ b/include/linux/mutex.h @@ -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 |