[PATCH v2 1/1] ring: safe partial ordering for head/tail update

Wathsala Vithanage wathsala.vithanage at arm.com
Mon Nov 10 20:13:30 CET 2025


On 11/10/25 04:25, Konstantin Ananyev wrote:
> Hi David,
>
>> Hello Wathsala,
>>
>> On Mon, 13 Oct 2025 at 20:10, Wathsala Vithanage
>> <wathsala.vithanage at arm.com> wrote:
>>>> LGTM, though. I think that we also need to make similar changes in
>>>> rte_ring_hts_elem_pvt.h and rte_ring_rts_elem_pvt.h:
>>>> for CAS use 'acq_rel' order instead of simple 'acquire'.
>>>> Let me know would you have a bandwidth to do that.
>>> My bad, I forgot those two cases. I will send a v3.
>> Should we wait for this v3?
>> We want to close rc2 this week.
>>
> Just submitted v3 with discussed extra changes.
> Also added fixes, cc to stable, etc.
> Hope it still can make 25.11
> Wathsala, pls shout or submit v4 if you feel something is missing.
> Thanks
> Konstantin

Thanks Konstantin, you beat me to the punch. I have a slightly different 
version with comments explaining the synchronizes with relationships. If 
you don't mind I can send it as V4.

--wathsala





More information about the dev mailing list