Re: [dpdk-dev] [PATCH v3 0/8] use compiler atomic builtins for test

2021-07-30 Thread Thomas Monjalon
> 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 >

[dpdk-dev] [PATCH v3 0/8] use compiler atomic builtins for test

2021-07-19 Thread Joyce Kong
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 sam