> -----Original Message-----
> From: Thomas Monjalon <[email protected]>
> Sent: Saturday, July 31, 2021 3:27 PM
> To: Honnappa Nagarahalli <[email protected]>; Ruifeng Wang
> <[email protected]>; Joyce Kong <[email protected]>
> Cc: [email protected]; [email protected]; [email protected]; nd
> <[email protected]>; [email protected]
> Subject: Re: [dpdk-dev] [PATCH v2] doc: update atomic operation deprecation
> 
> 23/07/2021 11:49, Joyce Kong:
> > Update the incorrect description about atomic operations with provided
> > wrappers in deprecation doc[1].
> >
> > [1]https://mails.dpdk.org/archives/dev/2021-July/213333.html
> >
> > Fixes: 7518c5c4ae6a ("doc: announce adoption of C11 atomic operations
> > semantics")
> > Cc: [email protected]
> >
> > Signed-off-by: Joyce Kong <[email protected]>
> > Reviewed-by: Ruifeng Wang <[email protected]>
> 
> Applied, thanks.
> 
> Considering all the questions regarding usage of atomics, I still think we 
> need a
> documentation about their correct use.
I think few things to document are:
1) Use of __atomic_add_fetch vs __atomic_fetch_add
2) Using __ATOMIC_RELAXED for statistics
3) Using rte_atomic_thread_fence API

Anything else?


> 

Reply via email to