diff options
author | Maarten Lankhorst <maarten.lankhorst@canonical.com> | 2013-06-24 10:30:04 +0200 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 11:43:26 +0900 |
commit | 4b0f1266e117c32618dd6e15f732b77e43140bc2 (patch) | |
tree | 08668decfaa5c3a5cce6f04e4653bc4facd995de /lib/Kconfig.debug | |
parent | 225f09218a99c811623c439db92957493ef50c37 (diff) | |
download | linux-3.10-4b0f1266e117c32618dd6e15f732b77e43140bc2.tar.gz linux-3.10-4b0f1266e117c32618dd6e15f732b77e43140bc2.tar.bz2 linux-3.10-4b0f1266e117c32618dd6e15f732b77e43140bc2.zip |
mutex: Add support for wound/wait style locks
Wound/wait mutexes are used when other multiple lock
acquisitions of a similar type can be done in an arbitrary
order. The deadlock handling used here is called wait/wound in
the RDBMS literature: The older tasks waits until it can acquire
the contended lock. The younger tasks needs to back off and drop
all the locks it is currently holding, i.e. the younger task is
wounded.
For full documentation please read Documentation/ww-mutex-design.txt.
References: https://lwn.net/Articles/548909/
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Rob Clark <robdclark@gmail.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: dri-devel@lists.freedesktop.org
Cc: linaro-mm-sig@lists.linaro.org
Cc: rostedt@goodmis.org
Cc: daniel@ffwll.ch
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/51C8038C.9000106@canonical.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions