From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind_com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=GjkN1TcN8g2qTnUx49NIFjhfQzDZiu+FjvqC6D2iSyU=; b=acKgGxZRan/Fg+9I2oJsdmv7mG1owXeqeLyWQdyPJBSdjyRjfnUvmx+wR/1m3gxoNK 3wsL72xmpGmcwbCnPtjfLOZZNlhd7+qZ9TmJqFmMYScRiS9SIVjA87puopknXZfH7SCg oyhepnX6sLIla83LHKMSW25gR9D6fmYtblnTus+8NtERmyynYuRguqKMCppjwXtMyrfg fuKkHL0PWXwyVjEaINiw3uKb+NBxEEHRU/MtZZU2ZNYFteNjVH4piGSZST+OWOrvGYbc j8x/c9tc5Xvvk/S+HEVwA1xONbq5P8ZAEqe3mIbrESOVbegob3/4AbX1QpnCZogYJv5x 9jIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=GjkN1TcN8g2qTnUx49NIFjhfQzDZiu+FjvqC6D2iSyU=; b=SHitTk2YNyFp9/vKxypLf8OxvR8uPtwEFBj9RIdQ/x/DT9YAGb/dRP2yh4ASBSobIT CpFMe3echQ/Rzt9okWJSc84Rh8tQ2aYanTPLs4cE3pJXS3kuIaKnrR1rZLHd6fhxwJg6 4hmsALir6YX8qhR0qSX1nuaLODsDnQIwWJMvX45D7HH5YJyI6hkXAdaQ0t0zhoU+YOXp iR6MQOEa33bQDjKYlH6IkyyhpqRWaSCVFwXCBrOHC1/wq2RHG+9Nk5yxySRiuXmKHNFw u84SwhoJfHOzozJlyOFW/JqQ4FU2g7BBFft+FtoU29H+AKXXb+nY7nimPW4Vmyw+3Xk3 hB2g== X-Gm-Message-State: ALoCoQmq7a941nsRJEWrbbSpqudozoNK2XU3otdv/voqdBZ3Isi2TmO0vvTu29ZwLB2gkToHrwYz X-Received: by 10.28.174.144 with SMTP id x138mr23179617wme.28.1446595464049; Tue, 03 Nov 2015 16:04:24 -0800 (PST) Received: from xps13.localnet ([93.158.41.25]) by smtp.gmail.com with ESMTPSA id v191sm25781755wmd.24.2015.11.03.16.04.22 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 03 Nov 2015 16:04:23 -0800 (PST) From: Thomas Monjalon To: Pablo de Lara Date: Wed, 04 Nov 2015 01:03:02 +0100 Message-ID: <2034600.2DoITT68ja@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20151027113831.GA9636@bricha3-MOBL3> References: <1443802033-245423-1-git-send-email-pablo.de.lara.guarch@intel.com> <20151027113831.GA9636@bricha3-MOBL3> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] hash: free internal ring when freeing hash X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2015 00:04:24 -0000 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