From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] mempool: Free memzone if mempool populate phys fails Date: Sat, 12 Nov 2016 22:07:34 +0100 Message-ID: <3087963.oxZ7KTTnrQ@xps13> References: <1478875378-15398-1-git-send-email-hemant.agrawal@nxp.com> <1478879230-15729-1-git-send-email-hemant.agrawal@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Olivier Matz , Hemant Agrawal To: Nipun Gupta Return-path: Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id 033073794 for ; Sat, 12 Nov 2016 22:07:38 +0100 (CET) Received: by mail-wm0-f54.google.com with SMTP id g23so35980335wme.1 for ; Sat, 12 Nov 2016 13:07:38 -0800 (PST) In-Reply-To: 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" > > This patch fixes the issue of memzone not being freed incase the > > rte_mempool_populate_phys fails in the rte_mempool_populate_default > > > > This issue was identified when testing with OVS ~2.6 > > - configure the system with low memory (e.g. < 500 MB) > > - add bridge and dpdk interfaces > > - delete brigde > > - keep on repeating the above sequence. > > > > Fixes: d1d914ebbc25 ("mempool: allocate in several memory chunks by default") > > > > Signed-off-by: Nipun Gupta > > Acked-by: Olivier Matz Applied, thanks