On Wed, Mar 01, 2023 at 04:47:33PM -0800, Tyler Retzlaff wrote:
> Use __atomic_fetch_{add,and,or,sub,xor} instead of
> __atomic_{add,and,or,sub,xor}_fetch when we have no interest in the
> result of the operation.
>
> Reduces unnecessary codegen that provided the result of the atomic
> operation that was not used.
>
> Change brings closer alignment with atomics available in C11 standard
> and will reduce review effort when they are integrated.
>
> Signed-off-by: Tyler Retzlaff <[email protected]>
> ---
Acked-by: Bruce Richardson <[email protected]>
- [PATCH 00/17] use __atomic operations returning previous ... Tyler Retzlaff
- [PATCH 02/17] telemetry: use previous value atomic f... Tyler Retzlaff
- Re: [PATCH 02/17] telemetry: use previous value ... Bruce Richardson
- [PATCH 01/17] vhost: use previous value atomic fetch... Tyler Retzlaff
- Re: [PATCH 01/17] vhost: use previous value atom... Maxime Coquelin
- [PATCH 03/17] stack: use previous value atomic fetch... Tyler Retzlaff
- [PATCH 04/17] eal: use previous value atomic fetch o... Tyler Retzlaff
- [PATCH 08/17] net/virtio: use previous value atomic ... Tyler Retzlaff
- Re: [PATCH 08/17] net/virtio: use previous value... Maxime Coquelin
- [PATCH 05/17] distributor: use previous value atomic... Tyler Retzlaff
- [PATCH 09/17] net/octeontx: use previous value atomi... Tyler Retzlaff
- [PATCH 06/17] bbdev: use previous value atomic fetch... Tyler Retzlaff
- [PATCH 07/17] examples/vhost: use previous value ato... Tyler Retzlaff

