summaryrefslogtreecommitdiffstats
path: root/kernel/locking/semaphore.c
diff options
context:
space:
mode:
authorWaiman Long2014-08-06 19:22:02 +0200
committerIngo Molnar2014-08-13 10:33:35 +0200
commitae17ea0ec7d8fa64fbb773a52b2df5ba4766bcb8 (patch)
tree1ba62bb20fa9723c9a6af118dd96455d9f9109a4 /kernel/locking/semaphore.c
parentlocking/lockdep: Restrict the use of recursive read_lock() with qrwlock (diff)
downloadkernel-qcow2-linux-ae17ea0ec7d8fa64fbb773a52b2df5ba4766bcb8.tar.gz
kernel-qcow2-linux-ae17ea0ec7d8fa64fbb773a52b2df5ba4766bcb8.tar.xz
kernel-qcow2-linux-ae17ea0ec7d8fa64fbb773a52b2df5ba4766bcb8.zip
locking/selftest: Support queued rwlock
The queued rwlock does not support the use of recursive read-lock in the process context. With changes in the lockdep code to check and disallow recursive read-lock, it is also necessary for the locking selftest to be updated to change the process context recursive read locking results from SUCCESS to FAILURE for rwlock. Signed-off-by: Waiman Long <Waiman.Long@hp.com> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Cc: Maarten Lankhorst <maarten.lankhorst@canonical.com> Cc: Rik van Riel <riel@redhat.com> Cc: Scott J Norton <scott.norton@hp.com> Cc: Fengguang Wu <fengguang.wu@intel.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: http://lkml.kernel.org/r/1407345722-61615-3-git-send-email-Waiman.Long@hp.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/locking/semaphore.c')
0 files changed, 0 insertions, 0 deletions