DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 0/3] use C11 memory model GCC builtin atomics
@ 2023-03-27 14:30 Tyler Retzlaff
  2023-03-27 14:30 ` [PATCH 1/3] bus/vmbus: " Tyler Retzlaff
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Tyler Retzlaff @ 2023-03-27 14:30 UTC (permalink / raw)
  To: dev; +Cc: Honnappa.Nagarahalli, Ruifeng.Wang, thomas, Tyler Retzlaff

Replace the use of __sync_<op>_and_fetch and __sync_fetch_and_<op> atomics
with GCC C11 memory model __atomic builtins.

This series contributes to converging on standard atomics in 23.11 but is
kept separate as there may be sensitivity to converting from __sync to the
C11 memory model builtins.

Tyler Retzlaff (3):
  bus/vmbus: use C11 memory model GCC builtin atomics
  crypto/ccp: use C11 memory model GCC builtin atomics
  eal: use C11 memory model GCC builtin atomics

 drivers/bus/vmbus/vmbus_channel.c    |  2 +-
 drivers/crypto/ccp/ccp_dev.c         |  6 ++++--
 lib/eal/include/generic/rte_atomic.h | 32 ++++++++++++++++----------------
 3 files changed, 21 insertions(+), 19 deletions(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-06-07 16:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-27 14:30 [PATCH 0/3] use C11 memory model GCC builtin atomics Tyler Retzlaff
2023-03-27 14:30 ` [PATCH 1/3] bus/vmbus: " Tyler Retzlaff
2023-03-27 14:30 ` [PATCH 2/3] crypto/ccp: " Tyler Retzlaff
2023-03-27 14:30 ` [PATCH 3/3] eal: " Tyler Retzlaff
2023-03-27 15:25 ` [PATCH 0/3] " Morten Brørup
2023-05-24 12:51 ` David Marchand
2023-05-24 16:05   ` Tyler Retzlaff
2023-06-02  4:18     ` Tyler Retzlaff
2023-06-07 16:36       ` David Marchand
2023-06-07 16:46 ` David Marchand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).