commit | 7ca26fc6716ad864a235f3818b1e559d5e882eda | [log] [tgz] |
---|---|---|
author | Alex Kogan <alex.kogan@oracle.com> | Tue Jan 14 22:59:20 2020 -0500 |
committer | Paul E. McKenney <paulmck@kernel.org> | Thu Jan 23 14:31:27 2020 -0800 |
tree | facd072a76bc96b1c746633e7af539b3592aa374 | |
parent | 55c6a96aac4c92a358801ec3b6d22dc80a6c4dc7 [diff] |
locking/qspinlock: Introduce the shuffle reduction optimization into CNA This performance optimization reduces the probability threads will be shuffled between the main and secondary queues when the secondary queue is empty. It is helpful when the lock is only lightly contended. Signed-off-by: Alex Kogan <alex.kogan@oracle.com> Reviewed-by: Steve Sistare <steven.sistare@oracle.com> Reviewed-by: Waiman Long <longman@redhat.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>