path: root/Documentation/DocBook/kernel-locking.tmpl
AgeCommit message (Collapse)Author
2014-08-13locking/Documentation: Move locking related docs into Documentation/locking/Davidlohr Bueso
Specifically: Documentation/locking/lockdep-design.txt Documentation/locking/lockstat.txt Documentation/locking/mutex-design.txt Documentation/locking/rt-mutex-design.txt Documentation/locking/rt-mutex.txt Documentation/locking/spinlocks.txt Documentation/locking/ww-mutex-design.txt Signed-off-by: Davidlohr Bueso <> Acked-by: Randy Dunlap <> Signed-off-by: Peter Zijlstra <> Cc: Cc: Cc: Alexei Starovoitov <> Cc: Al Viro <> Cc: Andrew Morton <> Cc: Chris Mason <> Cc: Dan Streetman <> Cc: David Airlie <> Cc: Davidlohr Bueso <> Cc: David S. Miller <> Cc: Greg Kroah-Hartman <> Cc: Heiko Carstens <> Cc: Jason Low <> Cc: Josef Bacik <> Cc: Kees Cook <> Cc: Linus Torvalds <> Cc: Lubomir Rintel <> Cc: Masanari Iida <> Cc: Paul E. McKenney <> Cc: Randy Dunlap <> Cc: Tim Chen <> Cc: Vineet Gupta <> Cc: Link: Signed-off-by: Ingo Molnar <>
2014-07-12DocBook: fix various typosMasanari Iida
This patch fixed spelling typo in various template files within Documentation/Docbook. Signed-off-by: Masanari Iida <> Signed-off-by: Randy Dunlap <> Signed-off-by: Linus Torvalds <>
2013-11-11locking/doc: Update references to kernel/mutex.cPeter Zijlstra
Fix this docbook error: >> docproc: kernel/mutex.c: No such file or directory by updating the stale references to kernel/mutex.c. Reported-by: Signed-off-by: Peter Zijlstra <> Link: Signed-off-by: Ingo Molnar <>
2013-07-03docbook: add futexes to kernel-locking docbookRandy Dunlap
Add Fast User Mutexes (futexes) to kernel-locking docbook. Signed-off-by: Randy Dunlap <> Acked-by: Rob Landley <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2011-03-31Fix common misspellingsLucas De Marchi
Fixes generated by 'codespell' and manually reviewed. Signed-off-by: Lucas De Marchi <>
2010-10-07Merge branch 'rcu/urgent' of ↵Ingo Molnar
git:// into core/rcu
2010-09-03mutex: Fix annotations to include it in kernel-locking docbookRandy Dunlap
Fix kernel-doc notation in linux/mutex.h and kernel/mutex.c, then add these 2 files to the kernel-locking docbook as the Mutex API reference chapter. Add one API function to mutex-design.txt and correct a typo in that file. Signed-off-by: Randy Dunlap <> Cc: Rusty Russell <> LKML-Reference: <> Signed-off-by: Ingo Molnar <>
2010-08-23Merge branch 'rcu/next' of ↵Ingo Molnar
git:// into core/rcu
2010-08-20Documentation: kernel-locking: mutex_trylock cannot be used in interrupt contextStefan Richter
Chapter 6 is right about mutex_trylock, but chapter 10 wasn't. This error was introduced during semaphore-to-mutex conversion of the Unreliable guide. :-) If user context which performs mutex_lock() or mutex_trylock() is preempted by interrupt context which performs mutex_trylock() on the same mutex instance, a deadlock occurs. This is because these functions do not disable local IRQs when they operate on mutex->wait_lock. Signed-off-by: Stefan Richter <> Acked-by: Rusty Russell <> Cc: Matthew Wilcox <> Cc: Randy Dunlap <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2010-08-19Update call_rcu() usage, add synchronize_rcu()Paul E. McKenney
Reported-by: Kyle Hubert <> Signed-off-by: Paul E. McKenney <> Reviewed-by: Josh Triplett <>
2010-08-19Update documentation to note the passage of INIT_RCU_HEAD()Paul E. McKenney
Signed-off-by: Alexey Dobriyan <> Signed-off-by: Paul E. McKenney <> Reviewed-by: Josh Triplett <>
2008-07-24Remove mention of semaphores from kernel-lockingMatthew Wilcox
Since the consensus seems to be to eliminate semaphores where possible, we shouldn't be educating people about how to use them as locks. Use mutexes instead. Semaphores should be described in a separate document if we end up keeping them. Signed-off-by: Matthew Wilcox <> Acked-by: Rusty Russell <>
2008-05-23doc: add a chapter about trylock functions [Bug 9011]Matti Linnanvuori
Add a chapter about trylock functions. Signed-off-by: Matti Linnanvuori <> Signed-off-by: Rusty Russell <> (removed down_trylock)
2008-04-21Merge branch 'for-linus' of ↵Linus Torvalds
git:// * 'for-linus' of git:// (24 commits) DOC: A couple corrections and clarifications in USB doc. Generate a slightly more informative error msg for bad HZ fix typo "is" -> "if" in Makefile ext*: spelling fix prefered -> preferred DOCUMENTATION: Use newer DEFINE_SPINLOCK macro in docs. KEYS: Fix the comment to match the file name in rxrpc-type.h. RAID: remove trailing space from printk line DMA engine: typo fixes Remove unused MAX_NODES_SHIFT MAINTAINERS: Clarify access to OCFS2 development mailing list. V4L: Storage class should be before const qualifier (sn9c102) V4L: Storage class should be before const qualifier sonypi: Storage class should be before const qualifier intel_menlow: Storage class should be before const qualifier DVB: Storage class should be before const qualifier arm: Storage class should be before const qualifier ALSA: Storage class should be before const qualifier acpi: Storage class should be before const qualifier firmware_sample_driver.c: fix coding style MAINTAINERS: Add ati_remote2 driver ... Fixed up trivial conflicts in firmware_sample_driver.c
2008-04-21DOCUMENTATION: Use newer DEFINE_SPINLOCK macro in docs.Robert P. J. Day
Signed-off-by: Robert P. J. Day <> Signed-off-by: Jesper Juhl <>
2008-04-18Convert asm/semaphore.h users to linux/semaphore.hMatthew Wilcox
Signed-off-by: Matthew Wilcox <>
2008-02-06docs: kernel-locking: Convert semaphore referencesDaniel Walker
I converted some of the document to reflect mutex usage instead of semaphore usage. Since we shouldin't be promoting semaphore usage when it's on it's way out.. Signed-off-by: Daniel Walker <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2007-07-22DocBook: Change a headline in kernel-locking to list all three main types of ↵Linus Nilsson
locking. Change a headline to reflect that there are three main types of kernel locking, not two. Signed-off-by: Linus Nilsson <> Signed-off-by: Linus Torvalds <>
2007-05-17docbook: make kernel-locking table readableRandy Dunlap
Andi Kleen pointed out to me that the kernel locking cheat sheet table entries are unreadable. Make table entries smaller so that pdf and ps output is readable (columns were being overwritten and garbled) by using abbreviations. This allows the tables to fit on one page cleanly. Add a Legend for the abbreviations: SLIS: spin_lock_irqsave SLI: spin_lock_irq SL: spin_lock SLBH: spin_lock_bh DI: down_interruptible Signed-off-by: Randy Dunlap <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
Signed-off-by: Adrian Bunk <>
2006-01-09[PATCH] mutex subsystem, documentationIngo Molnar
Add mutex design related documentation. Signed-off-by: Ingo Molnar <> Signed-off-by: Arjan van de Ven <>
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!