Phil Yang
41e8227e20
service: optimize with C11 atomics
...
The num_mapped_cores is used as a statistics. Use c11 atomics with
RELAXED ordering for num_mapped_cores instead of rte_atomic ops which
enforce unnessary barriers on aarch64.
Replace execute_lock operations to spinlock_try_lock to avoid duplicate
code.
Signed-off-by: Phil Yang <phil.yang@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
2020-05-11 13:21:54 +02:00
..
2020-04-16 18:16:18 +02:00
2020-04-14 16:22:34 +02:00
2019-11-20 23:05:39 +01:00
2020-04-14 16:22:34 +02:00
2020-03-31 13:08:55 +02:00
2020-04-16 18:30:58 +02:00
2020-04-14 16:22:34 +02:00
2020-05-06 13:50:32 +02:00
2020-04-21 11:34:09 +02:00
2020-05-11 13:21:54 +02:00
2020-04-16 18:16:46 +02:00
2020-05-11 00:37:16 +02:00
2020-05-02 12:31:57 +02:00
2020-04-14 16:22:34 +02:00
2020-04-14 16:22:34 +02:00
2020-05-05 23:32:02 +02:00
2019-11-20 23:05:39 +01:00
2019-11-20 23:05:39 +01:00
2020-04-25 19:26:47 +02:00
2020-04-25 15:15:27 +02:00
2020-04-25 19:53:47 +02:00
2019-11-20 23:05:39 +01:00
2020-02-14 11:59:01 +01:00
2020-05-06 15:22:19 +02:00
2020-01-20 01:32:50 +01:00
2020-04-24 19:29:02 +02:00
2020-04-25 22:56:10 +02:00
2019-11-20 23:05:39 +01:00
2020-05-06 13:50:32 +02:00
2020-05-05 00:25:34 +02:00
2020-05-11 00:37:16 +02:00
2020-04-25 15:15:27 +02:00
2020-05-05 23:42:13 +02:00
2020-03-17 14:53:48 +01:00
2020-04-21 11:34:09 +02:00
2020-04-16 18:16:46 +02:00
2020-04-21 11:34:09 +02:00
2020-04-16 18:30:58 +02:00
2020-05-11 00:37:16 +02:00
2020-04-22 20:46:00 +02:00
2019-11-20 23:05:39 +01:00
2020-04-14 16:22:34 +02:00
2020-04-28 11:34:40 +02:00
2020-04-16 18:16:18 +02:00
2020-04-23 17:56:38 +02:00
2020-04-14 16:22:34 +02:00
2020-03-18 00:59:17 +01:00
2020-05-11 00:37:16 +02:00
2020-04-26 22:07:38 +02:00
2020-05-05 15:54:26 +02:00
2020-05-11 00:37:16 +02:00
2020-05-11 00:37:16 +02:00