From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v10 0/8] Add stack library and new mempool handler Date: Thu, 04 Apr 2019 17:42:00 +0200 Message-ID: <5016355.bjjE8KkVVH@xps> References: <20190403232020.12784-1-gage.eads@intel.com> <20190404100127.29381-1-gage.eads@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, olivier.matz@6wind.com, arybchenko@solarflare.com, bruce.richardson@intel.com, konstantin.ananyev@intel.com, gavin.hu@arm.com, Honnappa.Nagarahalli@arm.com, nd@arm.com To: Gage Eads Return-path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id E46451B3FB for ; Thu, 4 Apr 2019 17:42:08 +0200 (CEST) In-Reply-To: <20190404100127.29381-1-gage.eads@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 04/04/2019 12:01, Gage Eads: > This patchset introduces a stack library, supporting both lock-based and > lock-free stacks, and a lock-free stack mempool handler. > > The lock-based stack code is derived from the existing stack mempool handler, > and that handler is refactored to use the stack library. > > The lock-free stack mempool handler is intended for usages where the rte > ring's "non-preemptive" constraint is not acceptable; for example, if the > application uses a mixture of pinned high-priority threads and multiplexed > low-priority threads that share a mempool. > > Note that the lock-free algorithm relies on a 128-bit compare-and-swap[1], > so it is currently limited to the x86_64 platform. [...] > Gage Eads (8): > stack: introduce rte stack library > mempool/stack: convert mempool to use rte stack > test/stack: add stack test > test/stack: add stack perf test > stack: add lock-free stack implementation > stack: add C11 atomic implementation > test/stack: add lock-free stack tests > mempool/stack: add lock-free stack mempool handler Applied (with a few minor changes), thanks for bringing this new library.