> -Original Message-
> From: Andrew Rybchenko [mailto:arybche...@solarflare.com]
> Sent: Sunday, January 13, 2019 7:31 AM
> To: Eads, Gage ; dev@dpdk.org
> Cc: olivier.m...@6wind.com; Richardson, Bruce ;
> Ananyev, Konstantin
> Subject: Re: [PATCH 2/3] mempool/nb_stack: add non-blocking
Hi Gage,
In general looks very good.
Have you considered to make nb_lifo.h a library to be reusable outside
of the mempool driver?
There are few notes below.
Thanks,
Andrew.
On 1/10/19 11:55 PM, Gage Eads wrote:
This commit adds support for non-blocking (linked list based) stack mempool
hand
This commit adds support for non-blocking (linked list based) stack mempool
handler. The stack uses a 128-bit compare-and-swap instruction, and thus is
limited to x86_64. The 128-bit CAS atomically updates the stack top pointer
and a modification counter, which protects against the ABA problem.
In
3 matches
Mail list logo