Re: [dpdk-dev] [PATCH 2/5] lib/stack: remove push acquire fence

2020-09-21 Thread Eads, Gage
> -Original Message- > From: Steven Lariau > Sent: Friday, September 11, 2020 10:30 AM > To: Eads, Gage ; Olivier Matz > Cc: dev@dpdk.org; n...@arm.com; dharmik.thak...@arm.com; Steven Lariau > > Subject: [PATCH 2/5] lib/stack: remove push acquire fence > > An acquire fence is used t

[dpdk-dev] [PATCH 2/5] lib/stack: remove push acquire fence

2020-09-11 Thread Steven Lariau
An acquire fence is used to make sure loads after the fence can observe all store operations before a specific store-release. But push doesn't read any data, except for the head which is part of a CAS operation (the items on the list are not read). So there is no need for the acquire barrier. Sign