[PATCH 00/17] use __atomic operations returning previous value
Morten Brørup
mb at smartsharesystems.com
Thu Mar 2 15:40:53 CET 2023
> From: Tyler Retzlaff [mailto:roretzla at linux.microsoft.com]
> Sent: Thursday, 2 March 2023 01.48
> To: dev at dpdk.org
> Cc: Honnappa.Nagarahalli at arm.com; thomas at monjalon.net; Tyler Retzlaff
> Subject: [PATCH 00/17] use __atomic operations returning previous value
>
> This series replaces uses of __atomic_{add,and,or,sub,xor}_fetch with
> __atomic_fetch_{add,and,or,sub,xor} intrinsics. The latter omits generation
> of code that is only needed if the returned value is actually used.
>
> Additionally, this change simplifies adapting dpdk to standard atomics
> planned for 23.07 since __atomic_fetch_xxx can be trivially replaced with
> atomic_fetch_xxx whereas __atomic_xxx_fetch has no standard equivalent.
>
Series-acked-by: Morten Brørup <mb at smartsharesystems.com>
More information about the dev
mailing list