aboutsummaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2016-11-30 21:04:45 +0000
committerIngo Molnar <mingo@kernel.org>2016-12-02 11:13:57 +0100
commit84d82ec5b9046ecdf16031d3e93a66ef50257402 (patch)
tree716c8ca677edf6cc92677f7a647cdd9bfa641af9 /virt
parentlocking/rtmutex: Get rid of RT_MUTEX_OWNER_MASKALL (diff)
downloadlinux-dev-84d82ec5b9046ecdf16031d3e93a66ef50257402.tar.xz
linux-dev-84d82ec5b9046ecdf16031d3e93a66ef50257402.zip
locking/rtmutex: Explain locking rules for rt_mutex_proxy_unlock()/init_proxy_locked()
While debugging the unlock vs. dequeue race which resulted in state corruption of futexes the lockless nature of rt_mutex_proxy_unlock() caused some confusion. Add commentry to explain why it is safe to do this lockless. Add matching comments to rt_mutex_init_proxy_locked() for completeness sake. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: David Daney <ddaney@caviumnetworks.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Sebastian Siewior <bigeasy@linutronix.de> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Will Deacon <will.deacon@arm.com> Link: http://lkml.kernel.org/r/20161130210030.591941927@linutronix.de Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions