From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier Matz Subject: Re: [PATCH v3 0/3] mempool: user-owned mempool caches Date: Fri, 17 Jun 2016 12:36:35 +0200 Message-ID: <5763D2B3.2060407@6wind.com> References: <1466074939-29863-1-git-send-email-l@nofutznetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: Konstantin Ananyev , David Hunt To: Lazaros Koromilas , dev@dpdk.org Return-path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 43F84CCD8 for ; Fri, 17 Jun 2016 12:36:42 +0200 (CEST) In-Reply-To: <1466074939-29863-1-git-send-email-l@nofutznetworks.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Lazaros, On 06/16/2016 01:02 PM, Lazaros Koromilas wrote: > Updated version of the user-owned cache patchset. It applies on top of > the latest external mempool manager patches from David Hunt [1]. > > [1] http://dpdk.org/ml/archives/dev/2016-June/041479.html > > v3 changes: > > * Deprecate specific mempool API calls instead of removing them. > * Split deprecation into a separate commit to limit noise. > * Fix cache flush by setting cache->len = 0 and make it inline. > * Remove cache->size == 0 checks and ensure size != 0 at creation. > * Fix tests to check if cache creation succeeded. > * Fix tests to free allocated resources on error. Thanks for the update. The patchset looks good to me. I have some minor comments for patch 2/3 and 3/3. One more thing: would you mind adding some words in doc/guides/prog_guide/mempool_lib.rst ? Thanks, Olivier