diff options
author | Waiman Long <Waiman.Long@hpe.com> | 2015-12-10 23:17:44 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-02-29 12:02:42 +0300 |
commit | cb037fdad6772df2d49fe61c97d7c0d8265bc918 (patch) | |
tree | 699e9c982d337cbc3ae63869a3424a48eb1c36ad /kernel/locking/qspinlock_paravirt.h | |
parent | eaff0e7003cca6c2748b67ead2d4b1a8ad858fc7 (diff) | |
download | linux-cb037fdad6772df2d49fe61c97d7c0d8265bc918.tar.xz |
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