locking/spinlock: Update spin_unlock_wait() users
authorPeter Zijlstra <peterz@infradead.org>
Tue, 24 May 2016 12:45:21 +0000 (14:45 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 14 Jun 2016 09:55:15 +0000 (11:55 +0200)
commitbe3e7844980352756de4261b276ee2ba5be7a26b
tree977f32f488649a6c77dcec9190d36fddc3df6b69
parent726328d92a42b6d4b76078e2659f43067f82c4e8
locking/spinlock: Update spin_unlock_wait() users

With the modified semantics of spin_unlock_wait() a number of
explicit barriers can be removed. Also update the comment for the
do_exit() usecase, as that was somewhat stale/obscure.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
ipc/sem.c
kernel/exit.c
kernel/task_work.c