]> git.karo-electronics.de Git - linux-beck.git/commit
locking/pvqspinlock: Kick the PV CPU unconditionally when _Q_SLOW_VAL
authorWaiman Long <Waiman.Long@hpe.com>
Fri, 11 Sep 2015 18:37:34 +0000 (14:37 -0400)
committerIngo Molnar <mingo@kernel.org>
Fri, 18 Sep 2015 07:27:29 +0000 (09:27 +0200)
commit93edc8bd7750ff3cae088bfca453ea73dc9004a4
tree0a2b12864982e91c8a3b2e0cd8fa41c65d6ec3ee
parentc55a6ffa6285e29f874ed403979472631ec70bff
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>
kernel/locking/qspinlock_paravirt.h