kernel-fxtec-pro1x/Documentation/DocBook
Stefan Richter 1ee4168057 Documentation: kernel-locking: mutex_trylock cannot be used in interrupt context
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 <stefanr@s5r6.in-berlin.de>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Matthew Wilcox <matthew@wil.cx>
Cc: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-20 09:34:56 -07:00
..
dvb V4L/DVB: DocBook/dvb: Update spec to reflect the current FE capabilities 2010-08-02 15:03:17 -03:00
v4l V4L/DVB: v4l: Add driver for Samsung S5P SoC video postprocessor 2010-08-08 23:43:01 -03:00
.gitignore
alsa-driver-api.tmpl
debugobjects.tmpl
device-drivers.tmpl Driver core: reduce duplicated code for platform_device creation 2010-08-05 13:53:34 -07:00
deviceiobook.tmpl docbook: fix errors from x86 headers merger 2010-03-03 07:32:39 -08:00
drm.tmpl drm: fix typos in Linux DRM Developer's Guide 2010-06-03 13:13:32 +10:00
filesystems.tmpl
gadget.tmpl
genericirq.tmpl doc: Fix IRQ chip docs 2009-12-04 15:39:57 +01:00
kernel-api.tmpl kfifo: replace the old non generic API 2010-08-11 08:59:23 -07:00
kernel-hacking.tmpl docbook: fix signal_pending() argument 2009-12-09 18:59:52 -08:00
kernel-locking.tmpl Documentation: kernel-locking: mutex_trylock cannot be used in interrupt context 2010-08-20 09:34:56 -07:00
kgdb.tmpl kgdb,docs: Update the kgdb docs to include kms 2010-08-05 10:53:11 -05:00
libata.tmpl Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev 2010-05-20 09:27:37 -07:00
librs.tmpl
lsm.tmpl
mac80211.tmpl mac80211: remove get_tx_stats() driver op 2010-02-08 16:51:01 -05:00
Makefile docbook: need xmldoclinks for all doc types 2010-08-11 08:59:18 -07:00
mcabook.tmpl
media-entities.tmpl V4L/DVB: DocBook/media: Add LIRC DocBook to media.html 2010-08-02 15:18:40 -03:00
media-indices.tmpl V4L/DVB (13572): v4l2-spec: Digital Video Timings API documentation 2009-12-16 00:18:04 -02:00
media.tmpl V4L/DVB: DocBook/media: Add LIRC DocBook to media.html 2010-08-02 15:18:40 -03:00
mtdnand.tmpl docbook: make mtd nand module init static 2010-05-24 07:30:55 -07:00
networking.tmpl
rapidio.tmpl
regulator.tmpl
s390-drivers.tmpl
scsi.tmpl Documentation: update broken web addresses. 2010-08-04 15:21:40 +02:00
sh.tmpl sh: fixup the docbook paths for clock framework shuffling. 2010-05-13 18:42:25 +09:00
stylesheet.xsl docbook: use IDs as filenames to support multiple books 2010-08-05 13:21:24 -07:00
tracepoint.tmpl Add DocBook documentation for the block tracepoints. 2010-03-09 09:26:04 +01:00
uio-howto.tmpl uio: add generic driver for PCI 2.3 devices 2009-09-15 09:50:48 -07:00
usb.tmpl
writing-an-alsa-driver.tmpl ALSA: Update the documentation for changes of proc files 2010-04-13 12:55:09 +02:00
writing_usb_driver.tmpl USB: rename usb_buffer_alloc() and usb_buffer_free() users 2010-05-20 13:21:38 -07:00
z8530book.tmpl