[EXT] Re: [PATCH] common/cnxk: use cas with release semantics for batch alloc

Ferruh Yigit ferruh.yigit at intel.com
Wed Jan 12 10:21:32 CET 2022


On 1/12/2022 3:01 AM, Ruifeng Wang wrote:
>> -----Original Message-----
>> From: Ferruh Yigit <ferruh.yigit at intel.com>
>> Sent: Tuesday, January 11, 2022 9:46 PM
>> To: Ashwin Sekhar Thalakalath Kottilveetil <asekhar at marvell.com>;
>> dev at dpdk.org; Honnappa Nagarahalli <Honnappa.Nagarahalli at arm.com>;
>> Ruifeng Wang <Ruifeng.Wang at arm.com>
>> Cc: Nithin Kumar Dabilpuram <ndabilpuram at marvell.com>;
>> jerinj at marvell.com; Sunil Kumar Kori <skori at marvell.com>; Satha
>> Koteswara Rao Kottidi <skoteshwar at marvell.com>; Pavan Nikhilesh
>> Bhagavatula <pbhagavatula at marvell.com>; Kiran Kumar Kokkilagadda
>> <kirankumark at marvell.com>; Satheesh Paul <psatheesh at marvell.com>;
>> Anoob Joseph <anoobj at marvell.com>; Akhil Goyal <gakhil at marvell.com>
>> Subject: Re: [EXT] Re: [PATCH] common/cnxk: use cas with release semantics
>> for batch alloc
>>
>> On 1/11/2022 12:26 PM, Ashwin Sekhar Thalakalath Kottilveetil wrote:
>>> CAS is compare and swap. CASL is compare and swap with release
>> semantics.
>>>
>>
>> What does 'release semantics' mean? What is functional difference in both?
> 
> 'release semantics' is semantics in memory ordering for store operations.
> It ensures store-store ordering.
> 

Thanks.


More information about the dev mailing list