use compiler atomic builtins for test
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Changes in v3 from the cover letter
Change 'GCC atomic builtins' to 'compiler atomic builtins' as clang adopted the same syntax as GCC.<Thomas Monjalon>
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | test/ticketlock: use compiler atomics for lcores syncapp/ | +4 | 0 replies | |
| 2/8 | test/spinlock: use compile atomics for lcores syncapp/ | +4 | 0 replies | |
| 3/8 | test/rwlock: use compiler atomics for lcores syncapp/ | +4 | 0 replies | |
| 4/8 | test/mcslock: use compiler atomics for lcores syncapp/ | +6 | 3 replies | |
| 5/8 | test/mempool: remove unused variable for lcores syncapp/ | +0 | 0 replies | |
| 6/8 | test/mempool_perf: use compiler atomics for lcores syncapp/ | +4 | 0 replies | |
| 7/8 | test/service_cores: use compiler atomics for lock syncapp/ | +20 | 0 replies | |
| 8/8 | test/rcu: use compiler atomics for data syncapp/ | +49 | 2 replies |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | Ruifeng Wang | Honnappa Nagarahalli | Stephen Hemminger |
|---|---|---|---|
| 1/8 | R-b | R-b | A-b |
| 2/8 | R-b | A-b | |
| 3/8 | R-b | A-b | |
| 4/8 | R-b | A-b | |
| 5/8 | R-b | A-b | |
| 6/8 | R-b | A-b | |
| 7/8 | R-b | A-b | |
| 8/8 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [dpdk-dev] [PATCH v3 0/8] use compiler atomic builtins for test
Since atomic operations have been adopted in DPDK now[1], change rte_atomicNN_xxx APIs to compiler's atomic built-ins in test cases.
[1] https://www.dpdk.org/blog/2021/03/26/dpdk-adopts-the-c11-memory-model/
v3:
Change 'GCC atomic builtins' to 'compiler atomic builtins' as clang adopted the same syntax as GCC.<Thomas Monjalon>
v2:
Use rte_wait_until_equal() instead of original sync loops. <David Marchand>
v1:
The initial version.
Joyce Kong (8):
test/ticketlock: use compiler atomics for lcores sync test/spinlock: use compile atomics for lcores sync test/rwlock: use compiler atomics for lcores sync test/mcslock: use compiler atomics for lcores sync test/mempool: remove unused variable for lcores sync test/mempool_perf: use compiler atomics for lcores sync test/service_cores: use compiler atomics for lock sync test/rcu: use compiler atomics for data sync
app/test/test_mcslock.c | 14 +++-- app/test/test_mempool.c | 5 -- app/test/test_mempool_perf.c | 11 ++-- app/test/test_rcu_qsbr_perf.c | 98 +++++++++++++++++------------------ app/test/test_rwlock.c | 10 ++-- app/test/test_service_cores.c | 36 +++++++------ app/test/test_spinlock.c | 9 ++-- app/test/test_ticketlock.c | 10 ++-- 8 files changed, 91 insertions(+), 102 deletions(-)
Signature · 1 line
2.17.1