> -----Original Message----- > From: Steven Lariau <[email protected]> > Sent: Friday, September 11, 2020 10:30 AM > To: Eads, Gage <[email protected]>; Olivier Matz <[email protected]> > Cc: [email protected]; [email protected]; [email protected]; Steven Lariau > <[email protected]> > Subject: [PATCH 2/5] lib/stack: remove push acquire fence > > 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. > > Signed-off-by: Steven Lariau <[email protected]> > Reviewed-by: Dharmik Thakkar <[email protected]> > Reviewed-by: Ruifeng Wang <[email protected]> Acked-by: Gage Eads <[email protected]> Thanks, Gage

