summaryrefslogtreecommitdiffstats
path: root/kernel/locking/qspinlock_paravirt.h
diff options
context:
space:
mode:
authorWaiman Long <Waiman.Long@hpe.com>2015-12-10 15:17:44 -0500
committerIngo Molnar <mingo@kernel.org>2016-02-29 10:02:42 +0100
commitcb037fdad6772df2d49fe61c97d7c0d8265bc918 (patch)
tree699e9c982d337cbc3ae63869a3424a48eb1c36ad /kernel/locking/qspinlock_paravirt.h
parenteaff0e7003cca6c2748b67ead2d4b1a8ad858fc7 (diff)
downloadblackbird-op-linux-cb037fdad6772df2d49fe61c97d7c0d8265bc918.tar.gz
blackbird-op-linux-cb037fdad6772df2d49fe61c97d7c0d8265bc918.zip
locking/qspinlock: Use smp_cond_acquire() in pending code
The newly introduced smp_cond_acquire() was used to replace the slowpath lock acquisition loop. Similarly, the new function can also be applied to the pending bit locking loop. This patch uses the new function in that loop. 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-1-git-send-email-Waiman.Long@hpe.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/locking/qspinlock_paravirt.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud