locking/pvqspinlock: Move lock stealing count tracking code into pv_queued_spin_steal...
authorWaiman Long <Waiman.Long@hpe.com>
Thu, 10 Dec 2015 20:17:46 +0000 (15:17 -0500)
committerIngo Molnar <mingo@kernel.org>
Mon, 29 Feb 2016 09:02:41 +0000 (10:02 +0100)
commiteaff0e7003cca6c2748b67ead2d4b1a8ad858fc7
tree8b081a7e1cf7e9dadad408861193269ad03749e0
parent920c720aa5aa3900a7f1689228fdfc2580a91e7e
locking/pvqspinlock: Move lock stealing count tracking code into pv_queued_spin_steal_lock()

This patch moves the lock stealing count tracking code into
pv_queued_spin_steal_lock() instead of via a jacket function simplifying
the code.

Signed-off-by: Waiman Long <Waiman.Long@hpe.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Douglas Hatch <doug.hatch@hpe.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@hpe.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1449778666-13593-3-git-send-email-Waiman.Long@hpe.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/locking/qspinlock_paravirt.h
kernel/locking/qspinlock_stat.h