summaryrefslogtreecommitdiffstats
path: root/kernel/futex.c
diff options
context:
space:
mode:
authorWaiman Long2015-09-11 20:37:34 +0200
committerIngo Molnar2015-09-18 09:27:29 +0200
commit93edc8bd7750ff3cae088bfca453ea73dc9004a4 (patch)
tree0a2b12864982e91c8a3b2e0cd8fa41c65d6ec3ee /kernel/futex.c
parentlocking/osq: Relax atomic semantics (diff)
downloadkernel-qcow2-linux-93edc8bd7750ff3cae088bfca453ea73dc9004a4.tar.gz
kernel-qcow2-linux-93edc8bd7750ff3cae088bfca453ea73dc9004a4.tar.xz
kernel-qcow2-linux-93edc8bd7750ff3cae088bfca453ea73dc9004a4.zip
locking/pvqspinlock: Kick the PV CPU unconditionally when _Q_SLOW_VAL
If _Q_SLOW_VAL has been set, the vCPU state must have been vcpu_hashed. The extra check at the end of __pv_queued_spin_unlock() is unnecessary and can be removed. Signed-off-by: Waiman Long <Waiman.Long@hpe.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Davidlohr Bueso <dave@stgolabs.net> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Douglas Hatch <doug.hatch@hp.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Scott J Norton <scott.norton@hp.com> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1441996658-62854-3-git-send-email-Waiman.Long@hpe.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/futex.c')
0 files changed, 0 insertions, 0 deletions