tin.anan...@intel.com; jerin.ja...@caviumnetworks.com;
> Honnappa Nagarahalli ; sta...@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v3 1/2] ring: synchronize the load and store
> of the tail
>
> On Wed, 31 Oct 2018 18:26:26 +0800
> Gavin Hu wrote:
>
> > -/*
> > - * The s
On Wed, 31 Oct 2018 18:26:26 +0800
Gavin Hu wrote:
> - /*
> - * The subtraction is done between two unsigned 32bits value
> + /* load-acquire synchronize with store-release of ht->tail
> + * in update_tail.
> + */
> + con
Synchronize the load-acquire of the tail and the store-release
within update_tail, the store release ensures all the ring operations,
enqueue or dequeue, are seen by the observers on the other side as soon
as they see the updated tail. The load-acquire is needed here as the
data dependency is not a
3 matches
Mail list logo