From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] hash: free internal ring when freeing hash Date: Wed, 04 Nov 2015 01:03:02 +0100 Message-ID: <2034600.2DoITT68ja@xps13> References: <1443802033-245423-1-git-send-email-pablo.de.lara.guarch@intel.com> <20151027113831.GA9636@bricha3-MOBL3> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Pablo de Lara Return-path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id 364DA8E6C for ; Wed, 4 Nov 2015 01:04:24 +0100 (CET) Received: by wmeg8 with SMTP id g8so28363464wme.1 for ; Tue, 03 Nov 2015 16:04:24 -0800 (PST) In-Reply-To: <20151027113831.GA9636@bricha3-MOBL3> 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" 2015-10-27 11:38, Bruce Richardson: > On Fri, Oct 02, 2015 at 05:07:13PM +0100, Pablo de Lara wrote: > > Since freeing a ring is now possible, then when freeing > > a hash table, its internal ring can be freed as well. > > Therefore when a new table, with the same name as a previously > > freed table, is created, there is no need to look up > > the already allocated ring. > > > > Signed-off-by: Pablo de Lara > > Acked-by: Bruce Richardson Applied, thanks