use GCC's C11 atomic builtins for test
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 13 repliesIn review
- v18 patches 3 repliesSuperseded
Changes in v2 from the cover letter
Use rte_wait_until_equal() instead of original sync loops. <David Marchand>
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | test/ticketlock: use GCC atomic builtins for lcores syncapp/ | +4 | 0 replies | |
| 2/8 | test/spinlock: use GCC atomic builtins for lcores syncapp/ | +4 | 0 replies | |
| 3/8 | test/rwlock: use GCC atomic builtins for lcores syncapp/ | +4 | 0 replies | |
| 4/8 | test/mcslock: use GCC atomic builtins for lcores syncapp/ | +6 | 0 replies | |
| 5/8 | test/mempool: remove unused variable for lcores syncapp/ | +0 | 0 replies | |
| 6/8 | test/mempool_perf: use GCC atomic builtins for lcores syncapp/ | +4 | 0 replies | |
| 7/8 | test/service_cores: use GCC atomic builtins for lock syncapp/ | +20 | 0 replies | |
| 8/8 | test/rcu: use GCC atomic builtins for data syncapp/ | +49 | 0 replies |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Ruifeng Wang | Honnappa Nagarahalli | Stephen Hemminger |
|---|---|---|---|
| Series | R-b R-b R-b R-b R-b R-b R-b R-b | R-b | A-b A-b A-b A-b A-b A-b A-b A-b |
| 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 v2 0/8] use GCC's C11 atomic builtins for test
Since C11 memory model is adopted in DPDK now[1], use GCC's atomic builtins in test cases.
[1] https://www.dpdk.org/blog/2021/03/26/dpdk-adopts-the-c11-memory-model/
v2:
Use rte_wait_until_equal() instead of original sync loops. <David Marchand>
v1:
The initial version.
Joyce Kong (8):
test/ticketlock: use GCC atomic builtins for lcores sync test/spinlock: use GCC atomic builtins for lcores sync test/rwlock: use GCC atomic builtins for lcores sync test/mcslock: use GCC atomic builtins for lcores sync test/mempool: remove unused variable for lcores sync test/mempool_perf: use GCC atomic builtins for lcores sync test/service_cores: use GCC atomic builtins for lock sync test/rcu: use GCC atomic builtins 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