Gavin Hu b13a21890a ticketlock: use new API to reduce contention on aarch64
While using ticket lock, cores repeatedly poll the lock variable.
This is replaced by rte_wait_until_equal API.

Running ticketlock_autotest on ThunderX2, Ampere eMAG80, and Arm N1SDP[1],
there were variances between runs, but no notable performance gain or
degradation were seen with and without this patch.

[1] https://community.arm.com/developer/tools-software/oss-platforms/w/\
docs/440/neoverse-n1-sdp

Signed-off-by: Gavin Hu <gavin.hu@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Tested-by: Phil Yang <phil.yang@arm.com>
Tested-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
2020-01-17 12:02:21 +01:00
..
2019-10-17 06:59:15 +02:00
2019-07-10 23:27:46 +02:00
2019-04-03 18:34:59 +02:00
2019-11-19 22:03:38 +01:00
2019-11-19 22:03:27 +01:00
2019-11-19 22:03:38 +01:00
2019-10-27 10:39:56 +01:00
2019-08-05 11:47:22 +02:00
2019-10-27 12:49:28 +01:00
2019-10-27 10:39:56 +01:00
2019-07-06 10:32:34 +02:00
2018-01-25 23:25:57 +01:00
2019-11-20 14:08:39 +01:00