From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] support free hugepages Date: Thu, 30 Oct 2014 16:32:07 +0100 Message-ID: <7123524.3JOL5xGJtY@xps13> References: <1414561659-7408-1-git-send-email-haifeng.lin@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: linhaifeng Return-path: In-Reply-To: <1414561659-7408-1-git-send-email-haifeng.lin-hv44wF8Li93QT0dZR+AlfA@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 2014-10-29 13:47, linhaifeng: > rte_eal_hugepage_free() is used for unlink all hugepages.If you want to > free all hugepages you must make sure that you have stop to use it,and you > must call this function before exit process. > > Signed-off-by: linhaifeng Thanks for raising the need. There is a discussion in the thread of the first version of this patch. Neil suggests an automatic clean-up with hugepage refcounting. It seems to be a good idea. So this patch won't be integrated as is. -- Thomas