commit | 440bde6e7dba84a26758e300504d7d6ca4053b99 | [log] [tgz] |
---|---|---|
author | Alex Kogan <alex.kogan@oracle.com> | Tue Jan 14 22:59:20 2020 -0500 |
committer | Paul E. McKenney <paulmck@kernel.org> | Fri Jan 24 10:55:36 2020 -0800 |
tree | facd072a76bc96b1c746633e7af539b3592aa374 | |
parent | 3f7c78c5b54bb0748ae335347bb95b9d6151bb5f [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>