Re: [dpdk-dev] [PATCH v2 5/5] lib/stack: remove pop cas release ordering

2020-09-25 Thread Eads, Gage
> -Original Message- > From: Steven Lariau > Sent: Friday, September 25, 2020 12:44 PM > To: Eads, Gage ; Olivier Matz > Cc: dev@dpdk.org; n...@arm.com; Steven Lariau > Subject: [PATCH v2 5/5] lib/stack: remove pop cas release ordering > > Replace the store-release by relaxed for the

[dpdk-dev] [PATCH v2 5/5] lib/stack: remove pop cas release ordering

2020-09-25 Thread Steven Lariau
Replace the store-release by relaxed for the CAS success at the end of pop. Release isn't needed, because there is not write to data that need to be synchronized. The only preceding write is when the length is decreased, but the length CAS loop already ensures the right synchronization. The situati